All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends
Classes | Functions
rocon_gateway::hub_api Namespace Reference

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

Function Documentation

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.

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

Definition at line 36 of file hub_api.py.

Utility Functions.

  Root the specified redis key name in our pseudo redis database.

Definition at line 26 of file hub_api.py.

  Extract the specified redis key name from our pseudo redis database.

Definition at line 57 of file hub_api.py.

  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.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


rocon_gateway
Author(s): Daniel Stonier, Jihoon Lee,
autogenerated on Tue Jan 15 2013 17:43:24