BigBrotherBot v1.5.0
System Development Information for the BigBrotherBot project.
Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Private Attributes

b3::parsers::q3a::rcon::Rcon Class Reference

Inheritance diagram for b3::parsers::q3a::rcon::Rcon:
b3::parsers::cod7_rcon::Cod7Rcon

List of all members.

Public Member Functions

def __init__
def send
def sendRcon
def stop
def writelines
def write
def flush
def readNonBlocking
def readSocket
def close
def getRules
def getInfo

Public Attributes

 statusCacheType
 statusCacheExpireTime
 host

Static Public Attributes

tuple host = ()
 password = None
tuple lock = thread.allocate_lock()
 socket = None
 queue = None
 console = None
float socket_timeout = 0.80
string rconsendstring = '\377\377\377\377rcon "%s" %s\n'
string rconreplystring = '\377\377\377\377print\n'
string qserversendstring = '\377\377\377\377%s\n'
dictionary cache_opts
tuple cache = CacheManager(**parse_cache_config_options(cache_opts))
int statusCacheExpireTime = 2
string statusCacheType = 'memory'

Private Member Functions

def _writelines
def _requestStatusCached

Private Attributes

 _stopEvent

Constructor & Destructor Documentation

def b3::parsers::q3a::rcon::Rcon::__init__ (   self,
  console,
  host,
  password 
)

Member Function Documentation

def b3::parsers::q3a::rcon::Rcon::_requestStatusCached (   self) [private]
def b3::parsers::q3a::rcon::Rcon::_writelines (   self) [private]
def b3::parsers::q3a::rcon::Rcon::close (   self)
def b3::parsers::q3a::rcon::Rcon::flush (   self)
def b3::parsers::q3a::rcon::Rcon::getInfo (   self)
def b3::parsers::q3a::rcon::Rcon::getRules (   self)
def b3::parsers::q3a::rcon::Rcon::readNonBlocking (   self,
  sock 
)
def b3::parsers::q3a::rcon::Rcon::readSocket (   self,
  sock,
  size = 4096,
  socketTimeout = None 
)
def b3::parsers::q3a::rcon::Rcon::send (   self,
  data,
  maxRetries = None,
  socketTimeout = None 
)
def b3::parsers::q3a::rcon::Rcon::sendRcon (   self,
  data,
  maxRetries = None,
  socketTimeout = None 
)
def b3::parsers::q3a::rcon::Rcon::stop (   self)
Stop the rcon writelines queue
def b3::parsers::q3a::rcon::Rcon::write (   self,
  cmd,
  maxRetries = None,
  socketTimeout = None,
  Cached = True 
)
def b3::parsers::q3a::rcon::Rcon::writelines (   self,
  lines 
)

Member Data Documentation

tuple b3::parsers::q3a::rcon::Rcon::cache = CacheManager(**parse_cache_config_options(cache_opts)) [static]
Initial value:
{
    'cache.data_dir': 'b3/cache/data',
    'cache.lock_dir': 'b3/cache/lock',
    }
tuple b3::parsers::q3a::rcon::Rcon::lock = thread.allocate_lock() [static]
string b3::parsers::q3a::rcon::Rcon::qserversendstring = '\377\377\377\377%s\n' [static]
string b3::parsers::q3a::rcon::Rcon::rconreplystring = '\377\377\377\377print\n' [static]
string b3::parsers::q3a::rcon::Rcon::rconsendstring = '\377\377\377\377rcon "%s" %s\n' [static]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Properties