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 |
Definition at line 23 of file hub_connector.py.
def rocon_hub_client.hub_connector.HubConnector.__init__ | ( | self, | |
whitelist, | |||
blacklist, | |||
is_zeroconf, | |||
connectFunc | |||
) |
Definition at line 27 of file hub_connector.py.
def rocon_hub_client.hub_connector.HubConnector._connect | ( | self, | |
ip, | |||
port | |||
) | [private] |
Definition at line 99 of file hub_connector.py.
def rocon_hub_client.hub_connector.HubConnector._scan_for_zeroconf_hubs | ( | self | ) | [private] |
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.
def rocon_hub_client.hub_connector.HubConnector.connect | ( | self, | |
hub_uri = None |
|||
) |
Definition at line 39 of file hub_connector.py.
def rocon_hub_client.hub_connector.HubConnector.direct_connect | ( | self, | |
hub_uri | |||
) |
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.
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.