Package org.jgroups

Interface Address

All Superinterfaces:
Cloneable, Comparable<Address>, Externalizable, Serializable, Streamable
All Known Subinterfaces:
PhysicalAddress
All Known Implementing Classes:
AdditionalDataUUID, IpAddress, PayloadUUID, SingletonAddress, TopologyUUID, UUID

public interface Address extends Externalizable, Streamable, Comparable<Address>, 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
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final byte
     
    static final byte
     
    static final byte
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Checks whether this is an address that represents multiple destinations; e.g., a class D address in the Internet.
    int
    Returns serialized size of this address

    Methods inherited from interface java.lang.Comparable

    compareTo

    Methods inherited from interface java.io.Externalizable

    readExternal, writeExternal

    Methods inherited from interface org.jgroups.util.Streamable

    readFrom, writeTo
  • Field Details

  • 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