Public Member Functions | |
| def | __init__ |
| def | run |
| def | enableMulticast |
| def | stop |
| def | processMessage |
Public Attributes | |
| handler | |
| host | |
| port | |
| multicast_ip | |
| socket | |
| running | |
Static Public Attributes | |
| tuple | logger = logging.getLogger("CoAP") |
| def webiopi.protocols.coap.COAPServer.__init__ | ( | self, | |
| host, | |||
| port, | |||
| handler | |||
| ) |
| def webiopi.protocols.coap.COAPServer.enableMulticast | ( | self | ) |
Definition at line 473 of file coap.py.
References webiopi.utils.version.info, webiopi.protocols.coap.COAPServer.multicast_ip, webiopi.protocols.coap.COAPMessage.port, webiopi.protocols.coap.COAPServer.port, and webiopi.protocols.coap.COAPServer.running.
| def webiopi.protocols.coap.COAPServer.processMessage | ( | self, | |
| request, | |||
| response | |||
| ) |
Definition at line 484 of file coap.py.
References webiopi.utils.logger.exception().
Referenced by webiopi.protocols.coap.COAPServer.run().
| def webiopi.protocols.coap.COAPServer.run | ( | self | ) |
Definition at line 449 of file coap.py.
References webiopi.utils.logger.exception(), webiopi.clients.PiMixedClient.host, webiopi.protocols.coap.COAPMessage.host, webiopi.protocols.coap.COAPServer.host, webiopi.utils.version.info, webiopi.protocols.coap.COAPMessage.port, webiopi.protocols.coap.COAPServer.port, webiopi.protocols.coap.COAPServer.processMessage(), and webiopi.protocols.coap.COAPServer.running.
| def webiopi.protocols.coap.COAPServer.stop | ( | self | ) |
Definition at line 480 of file coap.py.
References webiopi.protocols.coap.COAPServer.running.
| webiopi.protocols.coap.COAPServer.host |
Definition at line 433 of file coap.py.
Referenced by webiopi.protocols.http.HTTPServer.run(), and webiopi.protocols.coap.COAPServer.run().
|
static |
| webiopi.protocols.coap.COAPServer.multicast_ip |
Definition at line 435 of file coap.py.
Referenced by webiopi.protocols.coap.COAPServer.enableMulticast().
| webiopi.protocols.coap.COAPServer.port |
Definition at line 434 of file coap.py.
Referenced by webiopi.protocols.coap.COAPServer.enableMulticast(), webiopi.protocols.http.HTTPServer.run(), and webiopi.protocols.coap.COAPServer.run().
| webiopi.protocols.coap.COAPServer.running |
Definition at line 446 of file coap.py.
Referenced by webiopi.protocols.coap.COAPServer.enableMulticast(), webiopi.utils.thread.Task.run(), webiopi.protocols.http.HTTPServer.run(), webiopi.protocols.coap.COAPServer.run(), webiopi.utils.thread.Task.stop(), webiopi.protocols.http.HTTPServer.stop(), and webiopi.protocols.coap.COAPServer.stop().
1.8.8