Public Member Functions | |
def | deleteEntity |
def | disconnect |
def | disconnectAll |
def | parseData |
def | refreshSubscriptions |
def | subscribe |
Interface for content listener. | |
Static Public Attributes | |
refresh_thread = None | |
Subscribe to entities' changes. | |
dictionary | subscriptions = {} |
Context broker subscription handler. | |
Private Member Functions | |
def | _generateSubscription |
def | _refreshSubscriptions |
def | _sendRequest |
Definition at line 30 of file cbSubscriber.py.
def include.pubsub.contextbroker.cbSubscriber.CbSubscriber._generateSubscription | ( | self, | |
namespace, | |||
data_type = DEFAULT_CONTEXT_TYPE , |
|||
topics = [] , |
|||
subscriptionId = None |
|||
) | [private] |
Definition at line 154 of file cbSubscriber.py.
def include.pubsub.contextbroker.cbSubscriber.CbSubscriber._refreshSubscriptions | ( | self, | |
threadName, | |||
delay | |||
) | [private] |
Definition at line 182 of file cbSubscriber.py.
def include.pubsub.contextbroker.cbSubscriber.CbSubscriber._sendRequest | ( | self, | |
url, | |||
data, | |||
method = None |
|||
) | [private] |
Definition at line 193 of file cbSubscriber.py.
def include.pubsub.contextbroker.cbSubscriber.CbSubscriber.deleteEntity | ( | self, | |
namespace, | |||
data_type, | |||
removeContext = True |
|||
) |
Definition at line 124 of file cbSubscriber.py.
def include.pubsub.contextbroker.cbSubscriber.CbSubscriber.disconnect | ( | self, | |
namespace, | |||
delete = False |
|||
) |
Definition at line 64 of file cbSubscriber.py.
Reimplemented from include.pubsub.iPubSub.Isubscriber.
Definition at line 92 of file cbSubscriber.py.
def include.pubsub.contextbroker.cbSubscriber.CbSubscriber.parseData | ( | self, | |
data | |||
) |
Reimplemented from include.pubsub.iPubSub.Isubscriber.
Definition at line 118 of file cbSubscriber.py.
Definition at line 98 of file cbSubscriber.py.
def include.pubsub.contextbroker.cbSubscriber.CbSubscriber.subscribe | ( | self, | |
namespace, | |||
data_type, | |||
robot | |||
) |
Interface for content listener.
Reimplemented from include.pubsub.iPubSub.Isubscriber.
Definition at line 35 of file cbSubscriber.py.
Subscribe to entities' changes.
entity | name |
entity | type |
robot | object |
Definition at line 33 of file cbSubscriber.py.
dictionary include::pubsub::contextbroker::cbSubscriber.CbSubscriber::subscriptions = {} [static] |
Context broker subscription handler.
Definition at line 32 of file cbSubscriber.py.