BigBrotherBot v1.9.0
System Development Information for the BigBrotherBot project.

b3::parsers::ravaged::ravaged_rcon Namespace Reference

Classes

class  RavagedServerError
class  RavagedServerNetworkError
class  RavagedServerBlacklisted
class  RavagedServerCommandError
class  RavagedServerCommandTimeout
class  RavagedServer
class  RavagedServerPacketHandler
class  RavagedDispatcher

Functions

def prompt_command
def serverevent_handler

Variables

string __author__ = 'Thomas Leveil'
string __version__ = '1.1'
int MIN_MESSAGE_LENGTH = 4
tuple RE_COMMAND_RESPONSE = re.compile(r'''^(?P<command>[\S^:]+):(?P<response>.*)$''', re.DOTALL)
tuple rcon_config_file = os.path.join(os.path.dirname(__file__), 'ravaged_rcon.ini')
tuple parser = argparse.ArgumentParser(description='Ravaged game server rcon client')
tuple client_conf = parser.parse_args()
tuple conf = SafeConfigParser()
tuple t_conn = RavagedServer(client_conf.host, client_conf.port, client_conf.password, client_conf.user)
tuple rv = t_conn.command(cmd)

Function Documentation

def b3::parsers::ravaged::ravaged_rcon::prompt_command ( )
python generator that prompt user for a command on the console until the command typed is either 'quit' or 'bye'
def b3::parsers::ravaged::ravaged_rcon::serverevent_handler (   message)
handles events received from the Ravaged server

Variable Documentation

tuple b3::parsers::ravaged::ravaged_rcon::conf = SafeConfigParser()
tuple b3::parsers::ravaged::ravaged_rcon::parser = argparse.ArgumentParser(description='Ravaged game server rcon client')
tuple b3::parsers::ravaged::ravaged_rcon::rcon_config_file = os.path.join(os.path.dirname(__file__), 'ravaged_rcon.ini')
tuple b3::parsers::ravaged::ravaged_rcon::RE_COMMAND_RESPONSE = re.compile(r'''^(?P<command>[\S^:]+):(?P<response>.*)$''', re.DOTALL)
tuple b3::parsers::ravaged::ravaged_rcon::rv = t_conn.command(cmd)
tuple b3::parsers::ravaged::ravaged_rcon::t_conn = RavagedServer(client_conf.host, client_conf.port, client_conf.password, client_conf.user)
 All Classes Namespaces Files Functions Variables Properties