org.jgroups
Interface Address
- Cloneable, Comparable, Externalizable
- Hot_Endpoint, IpAddress, JMS.JMSAddress, LogicalAddress1_4, WanPipeAddress
public interface Address
extends Externalizable, 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).
Subclasses need to implement the following methods:
- isMultiCastAddress()
- equals()
- hashCode()
- compareTo()
boolean | isMulticastAddress() - Checks whether this is an address that represents multiple destinations,
e.g.
|
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
Copyright B) 2001,2002 www.jgroups.com . All Rights Reserved.