simnet
Class NATRouter.ExternalKey
java.lang.Object
simnet.NATRouter.ExternalKey
- Enclosing class:
- NATRouter
- class NATRouter.ExternalKey
- extends java.lang.Object
Class used to index connections on the external side.
|
Field Summary |
(package private) int |
externalPort
The port we will use to uniquely identify this connection to the
outside world. |
(package private) int |
proto
The protocol this connection uses. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
externalPort
int externalPort
- The port we will use to uniquely identify this connection to the
outside world.
proto
int proto
- The protocol this connection uses.
NATRouter.ExternalKey
public NATRouter.ExternalKey(int externalPort,
int proto)
equals
public boolean equals(java.lang.Object o)
hashCode
public int hashCode()
toString
public java.lang.String toString()