Package sparked :: Module monitors :: Class NamedZeroconfMonitor
[hide private]
[frames] | no frames]

Class NamedZeroconfMonitor

source code

object --+    
         |    
   Monitor --+
             |
            NamedZeroconfMonitor

Monitor which is 'ok' when it has detected a service with given type and name.

Instance Methods [hide private]
 
__init__(self, name, type)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
added(self, container)
Called when monitor is added to container.
source code
 
_found(self, name, **kw) source code
 
_lost(self, name, **kw) source code

Inherited from Monitor: removed

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Instance Variables [hide private]
  name
The service name that needs to be matched.
  type
The service type that needs to be matched.

Inherited from Monitor: ok

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, name, type)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

added(self, container)

source code 

Called when monitor is added to container. The container can be used to hook services to.

Overrides: Monitor.added
(inherited documentation)

Instance Variable Details [hide private]

name

The service name that needs to be matched. E.g. Arjan's Music.

type

The service type that needs to be matched. E.g. _daap._tcp.