jp (cmd_pubsub): xmpp: uri handling, first draft
This commit is contained in:
parent
9322d617d4
commit
c2ae6579c3
1 changed files with 30 additions and 0 deletions
|
|
@ -59,6 +59,7 @@ class NodeInfo(base.CommandBase):
|
|||
self.host.quit(C.EXIT_BRIDGE_ERRBACK)
|
||||
|
||||
def start(self):
|
||||
common.checkURI(self.args)
|
||||
self.host.bridge.psNodeConfigurationGet(
|
||||
self.args.service,
|
||||
self.args.node,
|
||||
|
|
@ -198,6 +199,7 @@ class NodeAffiliationsGet(base.CommandBase):
|
|||
self.host.quit(C.EXIT_BRIDGE_ERRBACK)
|
||||
|
||||
def start(self):
|
||||
common.checkURI(self.args)
|
||||
self.host.bridge.psNodeAffiliationsGet(
|
||||
self.args.service,
|
||||
self.args.node,
|
||||
|
|
@ -285,6 +287,7 @@ class Get(base.CommandBase):
|
|||
self.host.quit(C.EXIT_BRIDGE_ERRBACK)
|
||||
|
||||
def start(self):
|
||||
common.checkURI(self.args)
|
||||
self.host.bridge.psItemsGet(
|
||||
self.args.service,
|
||||
self.args.node,
|
||||
|
|
|
|||
Loading…
Reference in a new issue