class documentation
class ServerProto(protocol.DatagramProtocol): (source)
Undocumented
Method | __init__ |
Undocumented |
Method | datagram |
Called when a datagram is received. |
Method | start |
Called when a transport is connected to this protocol. |
Method | stop |
Called when the transport is disconnected. |
Instance Variable | deferred |
Undocumented |
Instance Variable | deferred |
Undocumented |
Instance Variable | gotfrom |
Undocumented |
Instance Variable | gotwhat |
Undocumented |
Instance Variable | started |
Undocumented |
Instance Variable | stopped |
Undocumented |
Inherited from DatagramProtocol
:
Method | connection |
Called due to error from write in connected mode. |
Method | log |
Return a prefix matching the class name, to identify log messages related to this protocol instance. |
Instance Variable | transport |
The transport with which this protocol is associated, if it is associated with one. |
Inherited from AbstractDatagramProtocol
(via DatagramProtocol
):
Method | __getstate__ |
Undocumented |
Method | do |
Make sure startProtocol is called. |
Method | do |
Make sure stopProtocol is called. |
Method | make |
Make a connection to a transport and a server. |
Class Variable | noisy |
Undocumented |
Instance Variable | num |
Undocumented |
Called when a datagram is received.
Parameters | |
data | Undocumented |
addr | tuple of source of datagram. |
datagram | the bytes received from the transport. |
Called when a transport is connected to this protocol.
Will only be called once, even if multiple ports are connected.