All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends
Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Private Attributes
rocon_hub_client.hub_connector.HubConnector Class Reference

HubConnector. More...

List of all members.

Public Member Functions

def __init__
def connect
def direct_connect
def zeroconf_connect

Public Attributes

 connectToHub
 param

Static Public Attributes

string hub_service = "_ros-multimaster-hub._tcp"
 is_connected = False

Private Member Functions

def _connect
def _scan_for_zeroconf_hubs

Private Attributes

 _zeroconf_services

Detailed Description

HubConnector.

Definition at line 23 of file hub_connector.py.


Constructor & Destructor Documentation

def rocon_hub_client.hub_connector.HubConnector.__init__ (   self,
  whitelist,
  blacklist,
  is_zeroconf,
  connectFunc 
)

Definition at line 27 of file hub_connector.py.


Member Function Documentation

def rocon_hub_client.hub_connector.HubConnector._connect (   self,
  ip,
  port 
) [private]

Definition at line 99 of file hub_connector.py.

    Does a quick scan on zeroconf for gateway hubs. If new ones are
    found, and it is not on the blacklist, it attempts a connection.

    This gets run in the pre-spin part of the spin loop.

    @param previously_found_hubs: zeroconf names of previously scanned hubs
    @type  previously_found_hubs: list of str

Definition at line 73 of file hub_connector.py.

Definition at line 39 of file hub_connector.py.

    If hub_uri is provided, attempt a direct connection

Definition at line 45 of file hub_connector.py.

Definition at line 59 of file hub_connector.py.


Member Data Documentation

Definition at line 27 of file hub_connector.py.

Definition at line 27 of file hub_connector.py.

string rocon_hub_client::hub_connector.HubConnector::hub_service = "_ros-multimaster-hub._tcp" [static]

Definition at line 24 of file hub_connector.py.

Definition at line 25 of file hub_connector.py.

Definition at line 27 of file hub_connector.py.


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


rocon_hub_client
Author(s): Jihoon
autogenerated on Tue Jan 15 2013 17:44:00