Package com.biglybt.net.natpmp.upnp.impl
Class NatPMPImpl.portMapping
- java.lang.Object
-
- com.biglybt.net.natpmp.upnp.impl.NatPMPImpl.portMapping
-
- All Implemented Interfaces:
UPnPWANConnectionPortMapping
- Enclosing class:
- NatPMPImpl
private static class NatPMPImpl.portMapping extends java.lang.Object implements UPnPWANConnectionPortMapping
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
description
protected int
external_port
protected java.lang.String
internal_host
protected boolean
tcp
-
Constructor Summary
Constructors Modifier Constructor Description protected
portMapping(int _external_port, boolean _tcp, java.lang.String _internal_host, java.lang.String _description)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription()
int
getExternalPort()
java.lang.String
getInternalHost()
protected java.lang.String
getString()
boolean
isTCP()
-
-
-
Method Detail
-
isTCP
public boolean isTCP()
- Specified by:
isTCP
in interfaceUPnPWANConnectionPortMapping
-
getExternalPort
public int getExternalPort()
- Specified by:
getExternalPort
in interfaceUPnPWANConnectionPortMapping
-
getInternalHost
public java.lang.String getInternalHost()
- Specified by:
getInternalHost
in interfaceUPnPWANConnectionPortMapping
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in interfaceUPnPWANConnectionPortMapping
-
getString
protected java.lang.String getString()
-
-