Home | Trees | Index | Help |
---|
Package nattraverso :: Package pynupnp :: Module upnp :: Class UPnPMapper |
|
NATMapper
--+
|
UPnPMapper
NATMapper
interface.
See Also: NATMapper
Method Summary | |
---|---|
Creates the mapper, with the given UPnPDevice instance. | |
See interface | |
See interface | |
See interface | |
See interface | |
We got the local ip address, retreive the existing port mappings in the device. | |
We got all the existing mappings in the device, find an unused one and assign it for the requested port. | |
The port mapping was added in the device, this means: | |
Inherited from NATMapper | |
Various Port object validity checks. |
Method Details |
---|
__init__(self,
upnp)
Creates the mapper, with the given |
get_port_mappings(self)See interface |
info(self, port)See interface
|
map(self, port)See interface
|
unmap(self, port)See interface
|
_map_got_local_ip(self, ip_result, port)We got the local ip address, retreive the existing port mappings in the device.
|
_map_got_port_mappings(self, mappings, ip, port)We got all the existing mappings in the device, find an unused one and assign it for the requested port.
|
_port_mapping_added(self, extaddr, extport, port)The port mapping was added in the device, this means:Internet NAT LAN | > IP:extaddr |> IP:local ip > Port:extport |> Port:port |
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Tue Aug 30 14:56:47 2005 | http://epydoc.sf.net |