| java.lang.Object org.jgroups.stack.IpAddress
IpAddress | public class IpAddress implements Address(Code) | | Network-dependent address (Internet). Generated by the bottommost layer of the protocol
stack (UDP). Contains an InetAddress and port.
author: Bela Ban |
log | final protected static Log log(Code) | | |
resolve_dns | static boolean resolve_dns(Code) | | |
IpAddress | public IpAddress()(Code) | | |
IpAddress | public IpAddress(int port)(Code) | | |
IpAddress | public IpAddress(int port, boolean set_default_host)(Code) | | |
compare | final public int compare(IpAddress other)(Code) | | Establishes an order between 2 addresses. Assumes other contains non-null IpAddress.
Excludes channel_name from comparison.
0 for equality, value less than 0 if smaller, greater than 0 if greater. |
compareTo | final public int compareTo(Object o)(Code) | | implements the java.lang.Comparable interface
See Also: java.lang.Comparable Parameters: o - - the Object to be compared a negative integer, zero, or a positive integer as this object is less than,equal to, or greater than the specified object. exception: java.lang.ClassCastException - - if the specified object's type prevents itfrom being compared to this Object. |
getAdditionalData | final public byte[] getAdditionalData()(Code) | | Returns the additional_data.
byte[] |
getPort | final public int getPort()(Code) | | |
hashCode | final public int hashCode()(Code) | | |
isMulticastAddress | final public boolean isMulticastAddress()(Code) | | |
setAdditionalData | final public void setAdditionalData(byte[] additional_data)(Code) | | Sets the additional_data.
Parameters: additional_data - The additional_data to set |
|
|