org.jgroups
Interface Address
- Cloneable, Comparable, Externalizable, Streamable
- IpAddress, JMS.JMSAddress, LogicalAddress, WanPipeAddress
public interface Address
extends Externalizable, Streamable, Comparable, 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).
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
|
isMulticastAddress
public boolean isMulticastAddress()
Checks whether this is an address that represents multiple destinations;
e.g., a class D address in the Internet.
- true if this is a multicast address, false if it is a unicast address
size
public int size()
Returns serialized size of this address
Copyright B) 1998-2005 Bela Ban. All Rights Reserved.