Public Member Functions | Public Attributes | Private Attributes | List of all members
rocon_hub_client.hub_client.Hub Class Reference

Hub. More...

Inheritance diagram for rocon_hub_client.hub_client.Hub:
Inheritance graph
[legend]

Public Member Functions

def __eq__ (self, other)
 
def __init__ (self, ip, port, whitelist=[], blacklist=[])
 
def __ne__ (self, other)
 
def disconnect (self)
 

Public Attributes

 ip
 
 name
 
 pool
 
 port
 
 uri
 

Private Attributes

 _redis_channels
 
 _redis_keys
 
 _redis_pubsub_server
 
 _redis_server
 

Detailed Description

Hub.

Definition at line 68 of file hub_client.py.

Constructor & Destructor Documentation

def rocon_hub_client.hub_client.Hub.__init__ (   self,
  ip,
  port,
  whitelist = [],
  blacklist = [] 
)
  @param remote_gateway_request_callbacks : to handle redis responses
  @type list of function pointers (back to GatewaySync class

  @param ip : redis server ip
  @param port : redis server port

  @raise HubNameNotFoundError, HubNotFoundError

Definition at line 70 of file hub_client.py.

Member Function Documentation

def rocon_hub_client.hub_client.Hub.__eq__ (   self,
  other 
)

Definition at line 149 of file hub_client.py.

def rocon_hub_client.hub_client.Hub.__ne__ (   self,
  other 
)

Definition at line 152 of file hub_client.py.

def rocon_hub_client.hub_client.Hub.disconnect (   self)
  Kills any open socket connections to the redis server. This is
  necessary if the server is out of range, as the py-redis client
  will hang all open connections indefinitely

Definition at line 135 of file hub_client.py.

Member Data Documentation

rocon_hub_client.hub_client.Hub._redis_channels
private

Definition at line 85 of file hub_client.py.

rocon_hub_client.hub_client.Hub._redis_keys
private

Definition at line 84 of file hub_client.py.

rocon_hub_client.hub_client.Hub._redis_pubsub_server
private

Definition at line 100 of file hub_client.py.

rocon_hub_client.hub_client.Hub._redis_server
private

Definition at line 95 of file hub_client.py.

rocon_hub_client.hub_client.Hub.ip

Definition at line 81 of file hub_client.py.

rocon_hub_client.hub_client.Hub.name

Definition at line 117 of file hub_client.py.

rocon_hub_client.hub_client.Hub.pool

Definition at line 98 of file hub_client.py.

rocon_hub_client.hub_client.Hub.port

Definition at line 82 of file hub_client.py.

rocon_hub_client.hub_client.Hub.uri

Definition at line 83 of file hub_client.py.


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


rocon_hub_client
Author(s): Daniel Stonier , Jihoon Lee
autogenerated on Mon Jun 10 2019 14:40:08