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

b3::parsers::ravaged::ravaged_rcon::RavagedServerPacketHandler Class Reference

Inherits threading::Thread, and threading::Thread.

List of all members.

Public Member Functions

def __init__
def run
def stop
def isStopped
def handle_packet
def handle_event
def handle_command_response
def __init__
def run
def stop
def isStopped
def handle_packet
def handle_event
def handle_command_response

Public Attributes

 log

Private Attributes

 _stopEvent
 _received_packets
 __event_handler
 __command_response_handler
 __stop_token

Detailed Description

Thread that handles received packets found in received_packets_queue and call the event_handler or
command_response_handler depending on the nature of the packets.

Constructor & Destructor Documentation

def b3::parsers::ravaged::ravaged_rcon::RavagedServerPacketHandler::__init__ (   self,
  logger,
  received_packets_queue,
  event_handler,
  command_response_handler 
)
def b3::parsers::ravaged::ravaged_rcon::RavagedServerPacketHandler::__init__ (   self,
  logger,
  received_packets_queue,
  event_handler,
  command_response_handler 
)

Member Function Documentation

def b3::parsers::ravaged::ravaged_rcon::RavagedServerPacketHandler::handle_command_response (   self,
  command,
  response 
)
def b3::parsers::ravaged::ravaged_rcon::RavagedServerPacketHandler::handle_command_response (   self,
  command,
  response 
)
def b3::parsers::ravaged::ravaged_rcon::RavagedServerPacketHandler::handle_event (   self,
  message 
)
def b3::parsers::ravaged::ravaged_rcon::RavagedServerPacketHandler::handle_event (   self,
  message 
)
def b3::parsers::ravaged::ravaged_rcon::RavagedServerPacketHandler::handle_packet (   self,
  packet 
)
Called when a full packet has been received.
def b3::parsers::ravaged::ravaged_rcon::RavagedServerPacketHandler::handle_packet (   self,
  packet 
)
Called when a full packet has been received.
def b3::parsers::ravaged::ravaged_rcon::RavagedServerPacketHandler::isStopped (   self)
def b3::parsers::ravaged::ravaged_rcon::RavagedServerPacketHandler::isStopped (   self)
def b3::parsers::ravaged::ravaged_rcon::RavagedServerPacketHandler::run (   self)
def b3::parsers::ravaged::ravaged_rcon::RavagedServerPacketHandler::run (   self)
def b3::parsers::ravaged::ravaged_rcon::RavagedServerPacketHandler::stop (   self)
def b3::parsers::ravaged::ravaged_rcon::RavagedServerPacketHandler::stop (   self)

Member Data Documentation


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