and can proceed even if some udp packets are lost. It's up to the user to
reschedule queries if they haven't received responses and they need them.
-Example usage:
+Example usage::
+
client = ConfdClient(...) # includes callback specification
req = confd_client.ConfdClientRequest(type=constants.CONFD_REQ_PING)
client.SendRequest(req)
confirming what you already got.
"""
+
import socket
import time
import random
@param callback: function to call when getting answers
@type port: integer
@keyword port: confd port (default: use GetDaemonPort)
- @type logger: L{logging.Logger}
+ @type logger: logging.Logger
@keyword logger: optional logger for internal conditions
"""
@type callback: f(L{ConfdUpcallPayload})
@param callback: function to call when getting answers
- @type logger: L{logging.Logger}
+ @type logger: logging.Logger
@keyword logger: optional logger for internal conditions
"""