berconpy.RCONGenericProtocol¶
- class berconpy.RCONGenericProtocol¶
Bases:
ABCThe base class for handling the RCON protocol between two computers.
Methods
Retrieves all events that have been parsed since this was last called.
Returns a list of payloads that should be sent to the remote computer.
receive_datagram(data)Provides a packet from the remote computer to potentially be parsed into an event.
- abstract events_received()¶
Retrieves all events that have been parsed since this was last called.
- abstract packets_to_send()¶
Returns a list of payloads that should be sent to the remote computer.