simnet
Class NATRouter.InternalKey
java.lang.Object
simnet.NATRouter.InternalKey
- Enclosing class:
- NATRouter
- class NATRouter.InternalKey
- extends java.lang.Object
Class used to index connections on our NAT side.
|
Field Summary |
(package private) int |
internalIP
The NATted IP address of the sending node. |
(package private) int |
internalPort
The port on which this connection was originally established. |
(package private) int |
proto
The protocol this connection uses. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
internalIP
int internalIP
- The NATted IP address of the sending node.
internalPort
int internalPort
- The port on which this connection was originally established.
proto
int proto
- The protocol this connection uses.
NATRouter.InternalKey
public NATRouter.InternalKey()
NATRouter.InternalKey
public NATRouter.InternalKey(int internalIP,
int internalPort,
int proto)
equals
public boolean equals(java.lang.Object o)
hashCode
public int hashCode()
toString
public java.lang.String toString()