|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jclouds.vcloud.domain.network.nat.rules.PortForwardingRule
public class PortForwardingRule
The PortForwardingRule element describes a NAT rule that maps an IP address and port in an organization network to an external IP address and port.
| Constructor Summary | |
|---|---|
PortForwardingRule(String externalIP,
int externalPort,
String internalIP,
int internalPort,
NatProtocol protocol)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
String |
getExternalIP()
IP address to which this NAT rule maps the IP address specified in the InternalIp element. |
int |
getExternalPort()
network port to which this NAT rule maps the port number specified in the InternalPort element |
String |
getInternalIP()
IP address to which this NAT rule maps the IP address specified in the ExternalIp element. |
int |
getInternalPort()
network port to which this NAT rule maps the port number specified in the ExternalPort element. |
NatProtocol |
getProtocol()
specifies the network protocol to which this rule applies |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PortForwardingRule(String externalIP,
int externalPort,
String internalIP,
int internalPort,
NatProtocol protocol)
| Method Detail |
|---|
public String getExternalIP()
getExternalIP in interface NatRulepublic int getExternalPort()
public String getInternalIP()
public int getInternalPort()
public NatProtocol getProtocol()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||