| Home | Trees | Index | Help |
|---|
| Package nattraverso :: Package pynupnp :: Module upnp :: Class UPnPDevice |
|
| Method Summary | |
|---|---|
Build the device, with the given SOAP proxy, and the meta-infos. | |
twisted.internet.defer.Deferred
|
Add a port mapping in the upnp device. |
twisted.internet.defer.Deferred
|
Triggers an external ip discovery on the upnp device. |
twisted.internet.defer.Deferred
|
Retreive the existing port mappings |
twisted.internet.defer.Deferred
|
Remove an existing port mapping on the device. |
| Method Details |
|---|
__init__(self,
soap_proxy,
info)
Build the device, with the given SOAP proxy, and the meta-infos.
|
add_port_mapping(self, local_ip, intport, extport, desc, proto, lease=0)Add a port mapping in the upnp device. Returns a deferred.
|
get_external_ip(self)Triggers an external ip discovery on the upnp device. Returns a deferred called with the external ip of this host.
|
get_port_mappings(self)Retreive the existing port mappings
|
remove_port_mapping(self, extport, proto)Remove an existing port mapping on the device. Returns a deferred
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Tue Aug 30 14:56:47 2005 | http://epydoc.sf.net |