Home | Trees | Indices | Help |
---|
|
object --+ | HubManager
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
Properties | |
Inherited from |
Method Details |
x.__init__(...) initializes x; see help(type(x)) for signature
|
Parse all the hubs and retrieve the list of remote gateway names. Note: not sure where is most convenient, here or in gateway class. @return list of remote gateway names (with hashes), e.g. gateway345ae2c... @rtype list of str |
Utility function to parse all hubs for the remote gateways and create a dictionary of the type: dic['remote_gateway_name'] = ['hub1', 'hub2'] where the hub list is a list of actual hub object references. |
Return information that a remote gateway has posted on the hub(s).
|
Return information that a remote gateway has posted on the hub(s). @param remote_gateway_name : the hash name for the remote gateway @type string @return True, false if the flag is set or not, None if remote gateway information cannot found @rtype Bool |
Send an unflip request to the specified gateway through the first common hub that can be found. Doesn't raise GatewayUnavailableError if nothing got sent as the higher level doesn't need any logic there yet (only called from gateway.shutdown).
|
Attempts to make a connection and register the gateway with a hub. @param ip @param port @return an integer indicating error (important for the service call) @rtype gateway_msgs.ErrorCodes @raise |
Disengages a hub. Make sure all necessary connections are cleaned up before calling this (Gateway.disengage_hub). @param hub_to_be_disengaged |
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Wed Aug 26 15:54:18 2015 | http://epydoc.sourceforge.net |