You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After you created your Plugin object, connecting and registering the plug-in
is quite simple.
importSplonecli.Api.plugin.RemoteErrormy_plugin.connect("hostname", <port>) # connects to the sploneboxtry:
my_plugin.register() # registers at the sploneboxexceptRemoteErrorase:
print(e)
If the register call fails, a RemoteError exception is raised.
Note: The register call is blocking by default! If you want non blocking behavior use the optional blocking parameter