class documentation
class AsyncUDPSocket(GanetiBaseAsyncoreDispatcher):
Known subclasses: ganeti.confd.client.ConfdAsyncUDPClient
An improved asyncore udp socket.
Method | __init__ |
Constructor for AsyncUDPSocket |
Method | enqueue |
Enqueue a datagram to be sent when possible |
Method | handle |
Undocumented |
Method | handle |
Handle an already read udp datagram |
Method | handle |
Undocumented |
Method | handle |
Undocumented |
Method | process |
Process the next datagram, waiting for it if necessary. |
Method | writable |
Most of the time we don't want to check for writability. |
Instance Variable | _family |
Undocumented |
Instance Variable | _out |
Undocumented |
Inherited from GanetiBaseAsyncoreDispatcher
:
Method | handle |
Log an error in handling any request, and proceed. |
Process the next datagram, waiting for it if necessary.
Parameters | |
timeout:float | how long to wait for data |
Returns | |
boolean | True if some data has been handled, False otherwise |