The IoTCommunicator object takes care of all interactions with the underlying network layers (sockets) between the IoT server and devices.
IoTCommunicator(...) Constructor: create an IoTCommunicator instance with a list of optional parameters listen(address, sock_params) Act as listener communicator stop_listen(address) Close the listen socket on the specified IP addressfind_conn(agent_id) Return the connection object found by agentIdstop() Stop the communicator destroy() Destroy the underlying communicator object Properties: on_connect The IoTCommunicator on_connectcallback (A Python callable object is expected)on_recieve_id The IoTCommunicator on_receivecallback (A Python callable object is expected)on_ack The IoTCommunicator on_ackcallback (A Python callable object is expected)on_disconnect The IoTCommunicator on_disconnectcallback (A Python callable object is expected)on_destroy The IoTCommunicator on_destroycallback (A Python callable object orNULLis expected)connections Return a list of the active connections for this communicator