public class PortMapping
extends java.lang.Object
Constructor and Description |
---|
PortMapping() |
Modifier and Type | Method and Description |
---|---|
int |
getMappedPort() |
int |
getProtocol() |
java.lang.String |
getRemoteIP() |
int |
getRemotePort() |
void |
setMappedPort(int mappedPort) |
void |
setProtocol(int protocol) |
void |
setRemoteIP(java.lang.String remoteIP) |
void |
setRemotePort(int remotePort) |
public int getProtocol()
public void setProtocol(int protocol)
protocol
- the protocol to setpublic int getMappedPort()
public void setMappedPort(int mappedPort)
mappedPort
- the mappedPort to setpublic java.lang.String getRemoteIP()
public void setRemoteIP(java.lang.String remoteIP)
remoteIP
- the remoteIP to setpublic int getRemotePort()
public void setRemotePort(int remotePort)
remotePort
- the remotePort to set