Logo Search packages:      
Sourcecode: calibre version File versions

calibre::utils::Zeroconf Namespace Reference


Detailed Description

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

class  AbstractMethodException
class  BadTypeInNameException
class  DNSAddress
class  DNSCache
class  DNSEntry
class  DNSHinfo
class  DNSIncoming
class  DNSOutgoing
class  DNSPointer
class  DNSQuestion
class  DNSRecord
class  DNSService
class  DNSText
class  Engine
class  Listener
class  NamePartTooLongException
class  NonLocalNameException
class  NonUniqueNameException
class  Reaper
class  ServiceBrowser
class  ServiceInfo
class  Zeroconf

Functions

def currentTimeMillis

Variables

list __all__ = ['Zeroconf', 'ServiceInfo', 'ServiceBrowser']
string __author__ = 'Paul Scott-Murphy'
string __email__ = 'paul at scott dash murphy dot com'
string __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 = 0x7FFF
int _CLASS_NONE = 254
int _CLASS_UNIQUE = 0x8000
dictionary _CLASSES
int _DNS_PORT = 53
int _DNS_TTL = 60
int _FLAGS_AA = 0x0400
int _FLAGS_AD = 0x0020
int _FLAGS_CD = 0x0010
int _FLAGS_QR_MASK = 0x8000
int _FLAGS_QR_QUERY = 0x0000
int _FLAGS_QR_RESPONSE = 0x8000
int _FLAGS_RA = 0x8000
int _FLAGS_RD = 0x0100
int _FLAGS_TC = 0x0200
int _FLAGS_Z = 0x0040
int _LISTENER_TIME = 200
int _MAX_MSG_ABSOLUTE = 8972
int _MAX_MSG_TYPICAL = 1460
string _MDNS_ADDR = '224.0.0.251'
int _MDNS_PORT = 5353
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
dictionary _TYPES
int _UNREGISTER_TIME = 125
dictionary desc = {'version':'0.10','a':'test value', 'b':'another value'}
tuple info = ServiceInfo('_http._tcp.local.', 'My Service Name._http._tcp.local.', socket.inet_aton('127.0.0.1'), 1234, 0, 0, desc)
tuple r = Zeroconf()


Generated by  Doxygen 1.6.0   Back to index