Public Member Functions | Private Member Functions | Private Attributes
rocon_hub.redis_server.RedisServer Class Reference

Redis Server. More...

List of all members.

Public Member Functions

def __init__
def shutdown
def start

Private Member Functions

def _introspect_redis_server_version
def _setup

Private Attributes

 _files
 _home_dir
 _parameters
 _process
 _server
 _version_extension

Detailed Description

Redis Server.

Definition at line 38 of file redis_server.py.


Constructor & Destructor Documentation

def rocon_hub.redis_server.RedisServer.__init__ (   self,
  parameters 
)

Definition at line 39 of file redis_server.py.


Member Function Documentation

  Sniff the version in major.minor format for decision making elsewhere (patch we disregard since our
  decisions don't depend on it).

  @return version extension in 'major.minor' format.
  @rtype str

Definition at line 54 of file redis_server.py.

  Clear and configure redis conf, log files in the ros home
  directories under a subdirectory styled by the name of this hub.

  Also check that we have support for the redis server - i.e. check if we
  have a .conf file for that version and exit this script if not found.

Definition at line 72 of file redis_server.py.

  Clears rocon: keys on the server.

Definition at line 147 of file redis_server.py.

  Start the server. Also connect, delete all rocon:xxx
  variables and reinitialise with specified values.

  Aborts the program if the connection fails.

Definition at line 111 of file redis_server.py.


Member Data Documentation

Definition at line 39 of file redis_server.py.

Definition at line 39 of file redis_server.py.

Definition at line 39 of file redis_server.py.

Definition at line 39 of file redis_server.py.

Definition at line 39 of file redis_server.py.

Definition at line 39 of file redis_server.py.


The documentation for this class was generated from the following file:


rocon_hub
Author(s): Daniel Stonier , Jihoon Lee , Piyush Khandelwal
autogenerated on Sat Jun 8 2019 18:48:46