| Home | Trees | Index | Help |
|---|
| Package tp :: Package netlib :: Package discover :: Package pyZeroconf :: Module Zeroconf |
|
Multicast DNS Service Discovery for Python, v0.12 Copyright (C) 2003, Paul Scott-Murphy This module provides a framework for the use of DNS Service Discovery using IP multicast. It has been tested against the JRendezvous implementation from <a href="http://strangeberry.com">StrangeBerry</a>, and against the mDNSResponder from Mac OS X 10.3.8. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
| Classes | |
|---|---|
ServiceBrowser |
Used to browse for a service of a specific type. |
ServiceInfo |
Service information... |
Zeroconf |
Implementation of Zeroconf Multicast DNS Service Discovery Supports registration, unregistration, queries and browsing. |
DNSAddress |
A DNS address record... |
DNSCache |
A cache of DNS entries... |
DNSEntry |
A DNS entry... |
DNSHinfo |
A DNS host information record... |
DNSIncoming |
Object representation of an incoming DNS packet... |
DNSOutgoing |
Object representation of an outgoing packet... |
DNSPointer |
A DNS pointer record... |
DNSQuestion |
A DNS question entry... |
DNSRecord |
A DNS record - like a DNS entry, but has a TTL... |
DNSService |
A DNS service record... |
DNSText |
A DNS text record... |
Engine |
An engine wraps read access to sockets, allowing objects that need to receive data from sockets to be called back when the sockets are ready. |
Listener |
A Listener is used by this module to listen on the multicast group to which DNS messages are sent, allowing the implementation to cache information as it arrives. |
Reaper |
A Reaper is used by this module to remove cache entries that have expired. |
| Exceptions | |
|---|---|
AbstractMethodException |
|
BadTypeInNameException |
|
NamePartTooLongException |
|
NonLocalNameException |
|
NonUniqueNameException |
|
| Function Summary | |
|---|---|
Current system time in milliseconds... | |
| Variable Summary | |
|---|---|
str |
__author__ = 'Paul Scott-Murphy'
|
str |
__email__ = 'paul at scott dash murphy dot com'
|
str |
__version__ = '0.12'
|
int |
_BROWSER_TIME = 500 |
int |
_CHECK_TIME = 175 |
int |
_CLASS_ANY = 255 |
int |
_CLASS_CH = 3 |
int |
_CLASS_CS = 2 |
int |
_CLASS_HS = 4 |
int |
_CLASS_IN = 1 |
int |
_CLASS_MASK = 32767 |
int |
_CLASS_NONE = 254 |
int |
_CLASS_UNIQUE = 32768 |
dict |
_CLASSES = {1: 'in', 2: 'cs', 3: 'ch', 4: 'hs', 254: 'no...
|
int |
_LISTENER_TIME = 200 |
int |
_MAX_MSG_ABSOLUTE = 8972 |
str |
_MDNS_ADDR = '224.0.0.251'
|
int |
_REGISTER_TIME = 225 |
int |
_TYPE_A = 1 |
int |
_TYPE_AAAA = 28 |
int |
_TYPE_ANY = 255 |
int |
_TYPE_CNAME = 5 |
int |
_TYPE_HINFO = 13 |
int |
_TYPE_MB = 7 |
int |
_TYPE_MD = 3 |
int |
_TYPE_MF = 4 |
int |
_TYPE_MG = 8 |
int |
_TYPE_MINFO = 14 |
int |
_TYPE_MR = 9 |
int |
_TYPE_MX = 15 |
int |
_TYPE_NS = 2 |
int |
_TYPE_NULL = 10 |
int |
_TYPE_PTR = 12 |
int |
_TYPE_SOA = 6 |
int |
_TYPE_SRV = 33 |
int |
_TYPE_TXT = 16 |
int |
_TYPE_WKS = 11 |
dict |
_TYPES = {1: 'a', 2: 'ns', 3: 'md', 4: 'mf', 5: 'cname',...
|
int |
_UNREGISTER_TIME = 125 |
| Function Details |
|---|
currentTimeMillis()Current system time in milliseconds |
| Variable Details |
|---|
__author__
|
__email__
|
__version__
|
_BROWSER_TIME
|
_CHECK_TIME
|
_CLASS_ANY
|
_CLASS_CH
|
_CLASS_CS
|
_CLASS_HS
|
_CLASS_IN
|
_CLASS_MASK
|
_CLASS_NONE
|
_CLASS_UNIQUE
|
_CLASSES
|
_LISTENER_TIME
|
_MAX_MSG_ABSOLUTE
|
_MDNS_ADDR
|
_REGISTER_TIME
|
_TYPE_A
|
_TYPE_AAAA
|
_TYPE_ANY
|
_TYPE_CNAME
|
_TYPE_HINFO
|
_TYPE_MB
|
_TYPE_MD
|
_TYPE_MF
|
_TYPE_MG
|
_TYPE_MINFO
|
_TYPE_MR
|
_TYPE_MX
|
_TYPE_NS
|
_TYPE_NULL
|
_TYPE_PTR
|
_TYPE_SOA
|
_TYPE_SRV
|
_TYPE_TXT
|
_TYPE_WKS
|
_TYPES
|
_UNREGISTER_TIME
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Fri Jan 1 08:00:27 2010 | http://epydoc.sf.net |