Public Member Functions | Private Attributes
rosbridge_library.internal.subscribers.SubscriberManager Class Reference

List of all members.

Public Member Functions

def __init__
def subscribe
def unsubscribe

Private Attributes

 _subscribers

Detailed Description

Keeps track of client subscriptions

Definition at line 183 of file subscribers.py.


Constructor & Destructor Documentation

Definition at line 188 of file subscribers.py.


Member Function Documentation

def rosbridge_library.internal.subscribers.SubscriberManager.subscribe (   self,
  client_id,
  topic,
  callback,
  msg_type = None 
)
Subscribe to a topic

Keyword arguments:
client_id -- the ID of the client making this subscribe request
topic     -- the name of the topic to subscribe to
callback  -- the callback to call for incoming messages on the topic
msg_type  -- (optional) the type of the topic

Definition at line 191 of file subscribers.py.

Unsubscribe from a topic

Keyword arguments:
client_id -- the ID of the client to unsubscribe
topic     -- the topic to unsubscribe from

Definition at line 209 of file subscribers.py.


Member Data Documentation

Definition at line 188 of file subscribers.py.


The documentation for this class was generated from the following file:


rosbridge_library
Author(s): Jonathan Mace
autogenerated on Mon Oct 6 2014 06:58:09