Home | History | Annotate | Download | only in netprotos

Lines Matching refs:zeroconf

19     def __init__(self, zeroconf, port=CROS_P2P_PORT):
22 @param zeroconf: A ZeroconfDaemon instance where this P2P server will be
28 self._zeroconf = zeroconf
32 self._p2p_domain = CROS_P2P_PROTO + '.' + zeroconf.domain
34 zeroconf.register_SRV(zeroconf.hostname, CROS_P2P_PROTO, 0, 0, port)
36 zeroconf.register_PTR(self._p2p_domain, zeroconf.hostname)
93 def __init__(self, zeroconf):
94 self._zeroconf = zeroconf
95 self._p2p_domain = CROS_P2P_PROTO + '.' + zeroconf.domain
97 zeroconf.add_answer_observer(self._new_answers)