pymasep.communication.client ============================ .. py:module:: pymasep.communication.client Classes ------- .. autoapisummary:: pymasep.communication.client.Client Module Contents --------------- .. py:class:: Client(ident, socket_handler_class, socket_handler_args, host = None, port = None, log_level = logging.WARNING) Bases: :py:obj:`pymasep.communication.BaseThreadedCommunication` Base class for Client :param ident: string id of the client. :param host: Host to connect. If None, the client will search a server to connect to. :param port: Port to connect. If None, the client will search a server to connect to. :param socket_handler_class: Class used to handle the socket (send, receive). :param socket_handler_args: Arguments to instantiate the SocketHandler class. :param log_level: Log level messages to log as str or int. Default is logging.WARNING. .. py:attribute:: server_id :value: None id of the server to connect to .. py:method:: __del__() Delete the instance. Close the socket .. py:method:: connect() Connect the client to a server. Create the handler and register the connection. .. py:method:: search_server() Search a server on the local net using multicast UPD