|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 obj)
|
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 NatRule
public int getExternalPort()
public String getInternalIP()
public int getInternalPort()
public NatProtocol getProtocol()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |