Class NatPMPImpl.portMapping
java.lang.Object
com.biglybt.net.natpmp.upnp.impl.NatPMPImpl.portMapping
- All Implemented Interfaces:
UPnPWANConnectionPortMapping
- Enclosing class:
NatPMPImpl
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected intprotected InetAddressprotected boolean -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedportMapping(int _external_port, boolean _tcp, InetAddress _internal_host, String _description) -
Method Summary
-
Field Details
-
external_port
protected int external_port -
tcp
protected boolean tcp -
internal_host
-
description
-
-
Constructor Details
-
portMapping
protected portMapping(int _external_port, boolean _tcp, InetAddress _internal_host, String _description)
-
-
Method Details
-
isTCP
public boolean isTCP()- Specified by:
isTCPin interfaceUPnPWANConnectionPortMapping
-
getExternalPort
public int getExternalPort()- Specified by:
getExternalPortin interfaceUPnPWANConnectionPortMapping
-
getInternalHost
- Specified by:
getInternalHostin interfaceUPnPWANConnectionPortMapping
-
getDescription
- Specified by:
getDescriptionin interfaceUPnPWANConnectionPortMapping
-
getString
-