leads.comm.client.client#
Module Contents#
Classes#
You should use create_client() and start_client() instead of directly calling any method. |
API#
- class leads.comm.client.client.Client(port: int, callback: leads.comm.prototype.Callback, separator: bytes)[source]#
Bases:
leads.comm.prototype.EntityYou should use create_client() and start_client() instead of directly calling any method.
Initialization
- Parameters:
port – the port to which the client connects
callback – the callback interface
separator – the symbol that splits the stream into messages
- run(server_address: str) None[source]#
Establish a connection and stage it. :param server_address: the server address to which the client connects