j_chess_lib.communication.connection package

Submodules

j_chess_lib.communication.connection.Connection module

class j_chess_lib.communication.connection.Connection.Connection(address: str = 'localhost', port: int = 5123)[source]

Bases: object

disconnect()[source]
recv() j_chess_lib.communication.schema.j_chess_message.JchessMessage[source]
property recv_count
send(message: Union[j_chess_lib.communication.schema.j_chess_message.JchessMessage, str])[source]
property send_count
exception j_chess_lib.communication.connection.Connection.ConnectionDecodeError(message: str, raw_message: str)[source]

Bases: Exception

property raw_message

Module contents