Redis Server. More...
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 |
Redis Server.
Definition at line 38 of file redis_server.py.
def rocon_hub.redis_server.RedisServer.__init__ | ( | self, | |
parameters | |||
) |
Definition at line 39 of file redis_server.py.
def rocon_hub.redis_server.RedisServer._introspect_redis_server_version | ( | self | ) | [private] |
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.
def rocon_hub.redis_server.RedisServer._setup | ( | self | ) | [private] |
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.
def rocon_hub.redis_server.RedisServer.shutdown | ( | self | ) |
Clears rocon: keys on the server.
Definition at line 147 of file redis_server.py.
def rocon_hub.redis_server.RedisServer.start | ( | self | ) |
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.
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.