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

b3::parsers::ravaged::ravaged_rcon::RavagedDispatcher Class Reference

List of all members.

Public Member Functions

def __init__
def send_command
def get_packet_queue
def handle_connect
def handle_close
def handle_read
def handle_packet
def getLogger
def full_packets
def __init__
def send_command
def get_packet_queue
def handle_connect
def handle_close
def handle_read
def handle_packet
def getLogger
def full_packets

Public Attributes

 log
 packet_queue

Private Attributes

 _buffer_in

Detailed Description

This asyncore dispatcher provides the send_command method to write to the socket
and exposes a Queue.Queue that stores the received full packets.

Constructor & Destructor Documentation

def b3::parsers::ravaged::ravaged_rcon::RavagedDispatcher::__init__ (   self,
  host,
  port,
  packet_queue = None 
)
def b3::parsers::ravaged::ravaged_rcon::RavagedDispatcher::__init__ (   self,
  host,
  port,
  packet_queue = None 
)

Member Function Documentation

def b3::parsers::ravaged::ravaged_rcon::RavagedDispatcher::full_packets (   self)
generator producing full packets from the data found in self._buffer_in
:return: packet data (everything but the packet size header)
def b3::parsers::ravaged::ravaged_rcon::RavagedDispatcher::full_packets (   self)
generator producing full packets from the data found in self._buffer_in
:return: packet data (everything but the packet size header)
def b3::parsers::ravaged::ravaged_rcon::RavagedDispatcher::get_packet_queue (   self)
def b3::parsers::ravaged::ravaged_rcon::RavagedDispatcher::get_packet_queue (   self)
def b3::parsers::ravaged::ravaged_rcon::RavagedDispatcher::getLogger (   self)
def b3::parsers::ravaged::ravaged_rcon::RavagedDispatcher::getLogger (   self)
def b3::parsers::ravaged::ravaged_rcon::RavagedDispatcher::handle_close (   self)
Called when the socket is closed.
def b3::parsers::ravaged::ravaged_rcon::RavagedDispatcher::handle_close (   self)
Called when the socket is closed.
def b3::parsers::ravaged::ravaged_rcon::RavagedDispatcher::handle_connect (   self)
def b3::parsers::ravaged::ravaged_rcon::RavagedDispatcher::handle_connect (   self)
def b3::parsers::ravaged::ravaged_rcon::RavagedDispatcher::handle_packet (   self,
  packet 
)
Called when a full packet has been received.
def b3::parsers::ravaged::ravaged_rcon::RavagedDispatcher::handle_packet (   self,
  packet 
)
Called when a full packet has been received.
def b3::parsers::ravaged::ravaged_rcon::RavagedDispatcher::handle_read (   self)
Called when the asynchronous loop detects that a read() call on the channel's socket will succeed.
def b3::parsers::ravaged::ravaged_rcon::RavagedDispatcher::handle_read (   self)
Called when the asynchronous loop detects that a read() call on the channel's socket will succeed.
def b3::parsers::ravaged::ravaged_rcon::RavagedDispatcher::send_command (   self,
  command 
)
Send a command to the server.
def b3::parsers::ravaged::ravaged_rcon::RavagedDispatcher::send_command (   self,
  command 
)
Send a command to the server.

Member Data Documentation


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