All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends
Public Member Functions | Private Attributes
rocon_gateway.hub_api.RedisListenerThread Class Reference

Redis Callback Handler. More...

List of all members.

Public Member Functions

def __init__
def run

Private Attributes

 _redis_pubsub_server
 _remote_gateway_request_callbacks

Detailed Description

Redis Callback Handler.

  Tunes into the redis channels that have been subscribed to and
  calls the apropriate callbacks.

Definition at line 91 of file hub_api.py.


Constructor & Destructor Documentation

def rocon_gateway.hub_api.RedisListenerThread.__init__ (   self,
  redis_pubsub_server,
  remote_gateway_request_callbacks 
)

Definition at line 96 of file hub_api.py.


Member Function Documentation

  Used as a callback for incoming requests on redis pubsub channels.

  The received argument is a list of strings for 'flip':

    - [0] - command : this one is 'flip'
    - [1] - remote_gateway : the name of the gateway that is flipping to us
    - [2] - remote_name
    - [3] - remote_node
    - [4] - type : one of ConnectionType.PUBLISHER etc
    - [5] - type_info : a ros format type (e.g. std_msgs/String or service api)
    - [6] - xmlrpc_uri : the xmlrpc node uri

  The command 'unflip' is the same, not including args 5 and 6.

Definition at line 101 of file hub_api.py.


Member Data Documentation

Definition at line 96 of file hub_api.py.

Definition at line 96 of file hub_api.py.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


rocon_gateway
Author(s): Daniel Stonier, Jihoon Lee,
autogenerated on Tue Jan 15 2013 17:43:24