Package rocon_hub_client :: Module hub_api
[frames] | no frames]

Module hub_api

source code

Functions
 
create_rocon_key(key)
Root the specified redis key name in our pseudo redis database.
source code
 
create_rocon_hub_key(key)
Root the specified redis key name in our pseudo redis database under the hub namespace
source code
 
create_rocon_gateway_key(unique_gateway_name, key)
Root the specified redis key name in our pseudo redis database under the gateway namespace.
source code
 
extract_rocon_key(key)
Extract the specified redis key name from our pseudo redis database.
source code
 
key_base_name(key)
Extract the base name (i.e.
source code
 
ping_hub(ip, port)
Pings the hub for identification.
source code
Variables
  __package__ = 'rocon_hub_client'
Function Details

create_rocon_gateway_key(unique_gateway_name, key)

source code 

Root the specified redis key name in our pseudo redis database under the gateway namespace.

@note : currently does no checking of the incoming keys

key_base_name(key)

source code 

Extract the base name (i.e. last value) from the key. e.g. rocon:key:pirate24 -> pirate24

ping_hub(ip, port)

source code 

Pings the hub for identification. This is currently used by the hub discovery module.

@return Bool