Interface Address
- All Superinterfaces:
Cloneable, Comparable<Address>, Externalizable, Serializable, Streamable
- All Known Subinterfaces:
PhysicalAddress
- All Known Implementing Classes:
AdditionalDataUUID, IpAddress, PayloadUUID, SingletonAddress, TopologyUUID, UUID
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
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks whether this is an address that represents multiple destinations; e.g., a class D address in the Internet.intsize()Returns serialized size of this addressMethods inherited from interface Comparable
compareToMethods inherited from interface Externalizable
readExternal, writeExternalMethods inherited from interface Streamable
readFrom, writeTo
-
Field Details
-
NULL
static final byte NULL- See Also:
-
UUID_ADDR
static final byte UUID_ADDR- See Also:
-
IP_ADDR
static final byte IP_ADDR- See Also:
-
-
Method Details
-
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
-