simnet
Class NATRouter.ExternalKey

java.lang.Object
  extended bysimnet.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.
 
Constructor Summary
NATRouter.ExternalKey(int externalPort, int proto)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

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.

Constructor Detail

NATRouter.ExternalKey

public NATRouter.ExternalKey(int externalPort,
                             int proto)
Method Detail

equals

public boolean equals(java.lang.Object o)

hashCode

public int hashCode()

toString

public java.lang.String toString()