comparison libervia/server/restricted_bridge.py @ 1379:4c51f22a813a

server (restricted_bridge): added `psNodeDelete`, `psNodeAffiliationsSet`, `psItemRetract` and `psInvite`
author Goffi <goffi@goffi.org>
date Sat, 20 Feb 2021 13:49:08 +0100
parents a32f3f47e4a8
children fc20818a5266
comparison
equal deleted inserted replaced
1378:e3e303a30a74 1379:4c51f22a813a
44 44
45 async def identitiesBaseGet(self, profile): 45 async def identitiesBaseGet(self, profile):
46 return await self.host.bridgeCall( 46 return await self.host.bridgeCall(
47 "identitiesBaseGet", profile) 47 "identitiesBaseGet", profile)
48 48
49 async def psNodeDelete(self, service_s, node, profile):
50 return await self.host.bridgeCall(
51 "psNodeDelete", service_s, node, profile)
52
53 async def psNodeAffiliationsSet(self, service_s, node, affiliations, profile):
54 return await self.host.bridgeCall(
55 "psNodeAffiliationsSet", service_s, node, affiliations, profile)
56
57 async def psItemRetract(self, service_s, node, item_id, notify, profile):
58 return await self.host.bridgeCall(
59 "psItemRetract", service_s, node, item_id, notify, profile)
60
49 async def fileHTTPUploadGetSlot( 61 async def fileHTTPUploadGetSlot(
50 self, filename, size, content_type, upload_jid, profile): 62 self, filename, size, content_type, upload_jid, profile):
51 return await self.host.bridgeCall( 63 return await self.host.bridgeCall(
52 "fileHTTPUploadGetSlot", filename, size, content_type, 64 "fileHTTPUploadGetSlot", filename, size, content_type,
53 upload_jid, profile) 65 upload_jid, profile)
77 self, service_jid, item_id, profile 89 self, service_jid, item_id, profile
78 ): 90 ):
79 return await self.host.bridgeCall( 91 return await self.host.bridgeCall(
80 "interestRetract", service_jid, item_id, profile) 92 "interestRetract", service_jid, item_id, profile)
81 93
94 async def psInvite(
95 self, invitee_jid_s, service_s, node, item_id, name, extra_s, profile
96 ):
97 return await self.host.bridgeCall(
98 "psInvite", invitee_jid_s, service_s, node, item_id, name, extra_s, profile
99 )
100
82 async def FISInvite( 101 async def FISInvite(
83 self, invitee_jid_s, service_s, repos_type, namespace, path, name, extra_s, 102 self, invitee_jid_s, service_s, repos_type, namespace, path, name, extra_s,
84 profile 103 profile
85 ): 104 ):
86 if extra_s: 105 if extra_s: