public class AnycastAddress extends Object implements Address
| Modifier and Type | Field and Description |
|---|---|
protected Collection<Address> |
destinations |
| Constructor and Description |
|---|
AnycastAddress() |
AnycastAddress(Address... addresses) |
AnycastAddress(Collection<Address> addresses) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Address... addresses) |
void |
addAll(Collection<Address> addresses) |
int |
compareTo(Address o) |
boolean |
equals(Object o) |
Collection<Address> |
getAddresses() |
int |
hashCode() |
protected void |
internalAdd(Address address) |
void |
readExternal(ObjectInput objectInput) |
void |
readFrom(DataInput in)
Read the state of the current object (including superclasses) from instream
Note that the input stream must not be closed
|
int |
size()
Returns serialized size of this address
|
String |
toString() |
void |
writeExternal(ObjectOutput objectOutput) |
void |
writeTo(DataOutput out)
Write the entire state of the current object (including superclasses) to outstream.
|
protected Collection<Address> destinations
public AnycastAddress()
public AnycastAddress(Collection<Address> addresses)
public AnycastAddress(Address... addresses)
public void add(Address... addresses)
protected void internalAdd(Address address)
public void addAll(Collection<Address> addresses)
public Collection<Address> getAddresses()
public int size()
Addresspublic int compareTo(Address o)
compareTo in interface Comparable<Address>public void writeTo(DataOutput out) throws Exception
StreamablewriteTo in interface StreamableExceptionpublic void readFrom(DataInput in) throws Exception
StreamablereadFrom in interface StreamableExceptionpublic void writeExternal(ObjectOutput objectOutput) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput objectInput) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionCopyright © 2025 JBoss, a division of Red Hat. All rights reserved.