Home | Trees | Index | Help |
---|
Package nattraverso :: Package pynupnp :: Module upnp :: Class UPnPProtocol |
|
AbstractDatagramProtocol
--+ |DatagramProtocol
--+ |object
--+ | UPnPProtocol
Method Summary | |
---|---|
Init the protocol, no parameters needed. | |
This is private, handle the multicast answer from the upnp device. | |
twisted.internet.defer.Deferred
|
Triggers a UPnP device discovery. |
Inherited from DatagramProtocol | |
Called due to error from write in connected mode. | |
Inherited from AbstractDatagramProtocol | |
| |
Make sure startProtocol is called. | |
Make sure stopProtocol is called. | |
Make a connection to a transport and a server. | |
Called when a transport is connected to this protocol. | |
Called when the transport is disconnected. | |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Class Variable Summary | |
---|---|
Inherited from AbstractDatagramProtocol | |
bool |
noisy = True
|
int |
numPorts = 0 |
NoneType |
transport = None |
Method Details |
---|
__init__(self,
*args,
**kwargs)
Init the protocol, no parameters needed.
|
datagramReceived(self, dgram, address)This is private, handle the multicast answer from the upnp device. |
search_device(self)Triggers a UPnP device discovery. The returned deferred will be called with theUPnPDevice that has been found in the
LAN.
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Tue Aug 30 14:56:47 2005 | http://epydoc.sf.net |