Redis Server.
More...
Redis Server.
Definition at line 37 of file redis_server.py.
def rocon_hub.redis_server.RedisServer.__init__ |
( |
|
self, |
|
|
|
parameters |
|
) |
| |
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 53 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 71 of file redis_server.py.
def rocon_hub.redis_server.RedisServer.shutdown |
( |
|
self | ) |
|
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 110 of file redis_server.py.
rocon_hub.redis_server.RedisServer._files |
|
private |
rocon_hub.redis_server.RedisServer._home_dir |
|
private |
rocon_hub.redis_server.RedisServer._parameters |
|
private |
rocon_hub.redis_server.RedisServer._process |
|
private |
rocon_hub.redis_server.RedisServer._server |
|
private |
rocon_hub.redis_server.RedisServer._version_extension |
|
private |
The documentation for this class was generated from the following file: