frostbite.base – Frostbite Server Base Communication Protocol

class frostbite.base.FBBase(socket, command_handler, event_handler)

Represents the base implementation of a frostbite communication class.

Arguments:

  • socket: GEvent socket.
  • command_handler: Callback that gets passed a command when received off of the socket.
  • event_handler: Callback that gets passed an event when received off of the socket.
join()

Joins to the protocol’s async processing units.

stop()

Stops the protocol’s async processing units.

Previous topic

Reference

Next topic

frostbite.client – Frostbite Client

This Page