Classes | |
class | Hub |
class | RedisListenerThread |
Redis Callback Handler. More... | |
Functions | |
def | create_gateway_key |
def | create_hub_key |
def | create_key |
Utility Functions. | |
def | extract_key |
def | key_base_name |
def | resolve_hub |
def rocon_gateway.hub_api.create_gateway_key | ( | unique_gateway_name, | |
key | |||
) |
Root the specified redis key name in our pseudo redis database under the gateway namespace. @note : currently does no checking of the incoming keys
Definition at line 47 of file hub_api.py.
def rocon_gateway.hub_api.create_hub_key | ( | key | ) |
Root the specified redis key name in our pseudo redis database under the hub namespace
Definition at line 36 of file hub_api.py.
def rocon_gateway.hub_api.create_key | ( | key | ) |
Utility Functions.
Root the specified redis key name in our pseudo redis database.
Definition at line 26 of file hub_api.py.
def rocon_gateway.hub_api.extract_key | ( | key | ) |
Extract the specified redis key name from our pseudo redis database.
Definition at line 57 of file hub_api.py.
def rocon_gateway.hub_api.key_base_name | ( | key | ) |
Extract the base name (i.e. last value) from the key. e.g. rocon:key:pirate24 -> pirate24
Definition at line 67 of file hub_api.py.
def rocon_gateway.hub_api.resolve_hub | ( | ip, | |
port | |||
) |
Pings the hub for identification. We currently use this to check against the gateway whitelist/blacklists to determine if a rule should proceed or not. @return string - hub name
Definition at line 75 of file hub_api.py.