|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.reservoir.monitoring.distribution.multicast.MulticastAddress
public class MulticastAddress
The full encapsulation of a multicast address in a single object. It contains the InetAddress and the port
Constructor Summary | |
---|---|
MulticastAddress(java.net.InetAddress addr,
int port)
|
|
MulticastAddress(java.lang.String addrStr,
int port)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object other)
Two MulticastAddresses are equal if Their InetAddresses are equal() and their ports are == |
java.net.InetAddress |
getAddress()
Return the InetAddress |
int |
getPort()
Return the port |
int |
hashCode()
Return a hashCode |
java.lang.String |
toString()
To string |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MulticastAddress(java.net.InetAddress addr, int port)
public MulticastAddress(java.lang.String addrStr, int port)
Method Detail |
---|
public java.net.InetAddress getAddress()
public int getPort()
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |