Package tp :: Package netlib :: Package discover :: Package pyZeroconf :: Module Zeroconf
[show private | hide private]
[frames | no frames]

Module tp.netlib.discover.pyZeroconf.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
  currentTimeMillis()
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__

Type:
str
Value:
'Paul Scott-Murphy'                                                    

__email__

Type:
str
Value:
'paul at scott dash murphy dot com'                                    

__version__

Type:
str
Value:
'0.12'                                                                 

_BROWSER_TIME

Type:
int
Value:
500                                                                   

_CHECK_TIME

Type:
int
Value:
175                                                                   

_CLASS_ANY

Type:
int
Value:
255                                                                   

_CLASS_CH

Type:
int
Value:
3                                                                     

_CLASS_CS

Type:
int
Value:
2                                                                     

_CLASS_HS

Type:
int
Value:
4                                                                     

_CLASS_IN

Type:
int
Value:
1                                                                     

_CLASS_MASK

Type:
int
Value:
32767                                                                 

_CLASS_NONE

Type:
int
Value:
254                                                                   

_CLASS_UNIQUE

Type:
int
Value:
32768                                                                 

_CLASSES

Type:
dict
Value:
{1: 'in', 2: 'cs', 3: 'ch', 4: 'hs', 254: 'none', 255: 'any'}          

_LISTENER_TIME

Type:
int
Value:
200                                                                   

_MAX_MSG_ABSOLUTE

Type:
int
Value:
8972                                                                  

_MDNS_ADDR

Type:
str
Value:
'224.0.0.251'                                                          

_REGISTER_TIME

Type:
int
Value:
225                                                                   

_TYPE_A

Type:
int
Value:
1                                                                     

_TYPE_AAAA

Type:
int
Value:
28                                                                    

_TYPE_ANY

Type:
int
Value:
255                                                                   

_TYPE_CNAME

Type:
int
Value:
5                                                                     

_TYPE_HINFO

Type:
int
Value:
13                                                                    

_TYPE_MB

Type:
int
Value:
7                                                                     

_TYPE_MD

Type:
int
Value:
3                                                                     

_TYPE_MF

Type:
int
Value:
4                                                                     

_TYPE_MG

Type:
int
Value:
8                                                                     

_TYPE_MINFO

Type:
int
Value:
14                                                                    

_TYPE_MR

Type:
int
Value:
9                                                                     

_TYPE_MX

Type:
int
Value:
15                                                                    

_TYPE_NS

Type:
int
Value:
2                                                                     

_TYPE_NULL

Type:
int
Value:
10                                                                    

_TYPE_PTR

Type:
int
Value:
12                                                                    

_TYPE_SOA

Type:
int
Value:
6                                                                     

_TYPE_SRV

Type:
int
Value:
33                                                                    

_TYPE_TXT

Type:
int
Value:
16                                                                    

_TYPE_WKS

Type:
int
Value:
11                                                                    

_TYPES

Type:
dict
Value:
{1: 'a',
 2: 'ns',
 3: 'md',
 4: 'mf',
 5: 'cname',
 6: 'soa',
 7: 'mb',
 8: 'mg',
...                                                                    

_UNREGISTER_TIME

Type:
int
Value:
125                                                                   

Generated by Epydoc 2.1 on Fri Jan 1 08:00:27 2010 http://epydoc.sf.net