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 |
---|---|
protected void |
_add(Address address) |
void |
add(Address... addresses) |
void |
addAll(Collection<Address> addresses) |
int |
compareTo(Address o) |
boolean |
equals(Object obj) |
Collection<Address> |
getAddresses() |
int |
hashCode() |
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 _add(Address address)
public void addAll(Collection<Address> addresses)
public Collection<Address> getAddresses()
public int size()
Address
public int compareTo(Address o)
compareTo
in interface Comparable<Address>
public void writeTo(DataOutput out) throws Exception
Streamable
writeTo
in interface Streamable
Exception
public void readFrom(DataInput in) throws Exception
Streamable
readFrom
in interface Streamable
Exception
public void writeExternal(ObjectOutput objectOutput) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput objectInput) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
Copyright © 2013 JBoss, a division of Red Hat. All rights reserved.