Package org.jgroups
Interface Address
-
- All Superinterfaces:
java.lang.Cloneable
,java.lang.Comparable
,java.io.Externalizable
,java.io.Serializable
,Streamable
- All Known Implementing Classes:
IpAddress
,JMS.JMSAddress
public interface Address extends java.io.Externalizable, Streamable, java.lang.Comparable, java.lang.Cloneable
Abstract address. Used to identify members on a group to send messages to. Addresses are mostly generated by the bottom-most (transport) layers (e.g. UDP, TCP, LOOPBACK).- Author:
- Bela Ban
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isMulticastAddress()
Checks whether this is an address that represents multiple destinations; e.g., a class D address in the Internet.int
size()
Returns serialized size of this address-
Methods inherited from interface org.jgroups.util.Streamable
readFrom, writeTo
-
-
-
-
Method Detail
-
isMulticastAddress
boolean isMulticastAddress()
Checks whether this is an address that represents multiple destinations; e.g., a class D address in the Internet.- Returns:
- true if this is a multicast address, false if it is a unicast address
-
size
int size()
Returns serialized size of this address
-
-