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

b3::parsers::frostbite2::protocol::FrostbiteDispatcher Class Reference

List of all members.

Public Member Functions

def __init__
def set_frostbite_event_hander
def set_frostbite_command_response_handler
def send_command
def getLogger
def handle_connect
def handle_close
def handle_read
def handle_packet
def handle_frostbite_event
def handle_frostbite_command_response
def __init__
def set_frostbite_event_hander
def set_frostbite_command_response_handler
def send_command
def getLogger
def handle_connect
def handle_close
def handle_read
def handle_packet
def handle_frostbite_event
def handle_frostbite_command_response

Private Attributes

 _buffer_in
 _frostbite_event_handler
 _frostbite_command_response_handler

Constructor & Destructor Documentation

def b3::parsers::frostbite2::protocol::FrostbiteDispatcher::__init__ (   self,
  host,
  port 
)
def b3::parsers::frostbite2::protocol::FrostbiteDispatcher::__init__ (   self,
  host,
  port 
)

Member Function Documentation

def b3::parsers::frostbite2::protocol::FrostbiteDispatcher::getLogger (   self)
def b3::parsers::frostbite2::protocol::FrostbiteDispatcher::getLogger (   self)
def b3::parsers::frostbite2::protocol::FrostbiteDispatcher::handle_close (   self)
Called when the socket is closed.
def b3::parsers::frostbite2::protocol::FrostbiteDispatcher::handle_close (   self)
Called when the socket is closed.
def b3::parsers::frostbite2::protocol::FrostbiteDispatcher::handle_connect (   self)
def b3::parsers::frostbite2::protocol::FrostbiteDispatcher::handle_connect (   self)
def b3::parsers::frostbite2::protocol::FrostbiteDispatcher::handle_frostbite_command_response (   self,
  command_id,
  words 
)
def b3::parsers::frostbite2::protocol::FrostbiteDispatcher::handle_frostbite_command_response (   self,
  command_id,
  words 
)
def b3::parsers::frostbite2::protocol::FrostbiteDispatcher::handle_frostbite_event (   self,
  words 
)
def b3::parsers::frostbite2::protocol::FrostbiteDispatcher::handle_frostbite_event (   self,
  words 
)
def b3::parsers::frostbite2::protocol::FrostbiteDispatcher::handle_packet (   self,
  packet 
)
Called when a full Frosbite packet has been received.
def b3::parsers::frostbite2::protocol::FrostbiteDispatcher::handle_packet (   self,
  packet 
)
Called when a full Frosbite packet has been received.
def b3::parsers::frostbite2::protocol::FrostbiteDispatcher::handle_read (   self)
Called when the asynchronous loop detects that a read() call on the channel's socket will succeed.
def b3::parsers::frostbite2::protocol::FrostbiteDispatcher::handle_read (   self)
Called when the asynchronous loop detects that a read() call on the channel's socket will succeed.
def b3::parsers::frostbite2::protocol::FrostbiteDispatcher::send_command (   self,
  command 
)
Send a command to the Frosbite server and return the command id
which can be used to find the matching reply later on.
def b3::parsers::frostbite2::protocol::FrostbiteDispatcher::send_command (   self,
  command 
)
Send a command to the Frosbite server and return the command id
which can be used to find the matching reply later on.
def b3::parsers::frostbite2::protocol::FrostbiteDispatcher::set_frostbite_command_response_handler (   self,
  func 
)
register a function that will be called when the Frosbite server
sends us a command reply.
def b3::parsers::frostbite2::protocol::FrostbiteDispatcher::set_frostbite_command_response_handler (   self,
  func 
)
register a function that will be called when the Frosbite server
sends us a command reply.
def b3::parsers::frostbite2::protocol::FrostbiteDispatcher::set_frostbite_event_hander (   self,
  func 
)
register a function that will be called when the Frosbite server
sends us a game event.
def b3::parsers::frostbite2::protocol::FrostbiteDispatcher::set_frostbite_event_hander (   self,
  func 
)
register a function that will be called when the Frosbite server
sends us a game event.

Member Data Documentation


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