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

b3::parsers::source::rcon::Rcon Class Reference

List of all members.

Public Member Functions

def __init__
def writelines
 expected B3 Rcon API
def write
def flush
def close
def rconNoWait
def encode_data
def __init__
def writelines
 expected B3 Rcon API
def write
def flush
def close
def rconNoWait
def encode_data

Public Attributes

 console
 port
 password
 timeout
 queue
 stop_event
 server

Static Public Attributes

tuple lock = Lock()

Private Member Functions

def _writelines
 others
def _writelines
 others

Detailed Description

Facade to expose the SourceRcon class with an API as expected by B3 parsers

Constructor & Destructor Documentation

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

Member Function Documentation

def b3::parsers::source::rcon::Rcon::_writelines (   self) [private]

others

def b3::parsers::source::rcon::Rcon::_writelines (   self) [private]

others

def b3::parsers::source::rcon::Rcon::close (   self)
def b3::parsers::source::rcon::Rcon::close (   self)
def b3::parsers::source::rcon::Rcon::encode_data (   self,
  data 
)
def b3::parsers::source::rcon::Rcon::encode_data (   self,
  data 
)
def b3::parsers::source::rcon::Rcon::flush (   self)
def b3::parsers::source::rcon::Rcon::flush (   self)
def b3::parsers::source::rcon::Rcon::rconNoWait (   self,
  cmd 
)
send a single command, do not wait for any response.
connect and auth if necessary.
def b3::parsers::source::rcon::Rcon::rconNoWait (   self,
  cmd 
)
send a single command, do not wait for any response.
connect and auth if necessary.
def b3::parsers::source::rcon::Rcon::write (   self,
  cmd,
  args,
  kwargs 
)
Sends a rcon command and return the response (blocking until timeout)
def b3::parsers::source::rcon::Rcon::write (   self,
  cmd,
  args,
  kwargs 
)
Sends a rcon command and return the response (blocking until timeout)
def b3::parsers::source::rcon::Rcon::writelines (   self,
  lines 
)

expected B3 Rcon API

Sends multiple rcon commands and do not wait for responses (non blocking)
def b3::parsers::source::rcon::Rcon::writelines (   self,
  lines 
)

expected B3 Rcon API

Sends multiple rcon commands and do not wait for responses (non blocking)

Member Data Documentation

tuple b3::parsers::source::rcon::Rcon::lock = Lock() [static]

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