|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rabbit.io.ConnectionHandler.Address
A class to handle the addresses of the connections. Basically just a pair of InetAddress and port number.
Field Summary | |
java.net.InetAddress |
ia
The internet address of this Address. |
int |
port
The port number were connected to. |
Constructor Summary | |
ConnectionHandler.Address(java.net.InetAddress ia,
int port)
Create a new Address with given InetAddress and port |
Method Summary | |
boolean |
equals(java.lang.Object o)
Compare this objcet agains another object. |
int |
hashCode()
Get the hash code for this object. |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public java.net.InetAddress ia
public int port
Constructor Detail |
public ConnectionHandler.Address(java.net.InetAddress ia, int port)
ia
- the InetAddress this Address is connected to.port
- the port number this Address is connected to.Method Detail |
public int hashCode()
public boolean equals(java.lang.Object o)
o
- the Object to compare against.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |