public static final class RequestCorrelator.MultiDestinationHeader extends RequestCorrelator.Header
| Modifier and Type | Field and Description |
|---|---|
java.util.Collection<? extends Address> |
exclusion_list
Contains a list of members who should not receive the request (others will drop).
|
corrId, id, REQ, RSP, rsp_expected, type| Constructor and Description |
|---|
MultiDestinationHeader() |
MultiDestinationHeader(byte type,
long id,
boolean rsp_expected,
short corr_id,
java.util.Collection<Address> exclusion_list) |
| Modifier and Type | Method and Description |
|---|---|
void |
readFrom(java.io.DataInputStream in)
Read the state of the current object (including superclasses) from instream
Note that the input stream must not be closed
|
int |
size()
To be implemented by subclasses.
|
java.lang.String |
toString() |
void |
writeTo(java.io.DataOutputStream out)
Write the entire state of the current object (including superclasses) to outstream.
|
public java.util.Collection<? extends Address> exclusion_list
public MultiDestinationHeader()
public MultiDestinationHeader(byte type,
long id,
boolean rsp_expected,
short corr_id,
java.util.Collection<Address> exclusion_list)
public void writeTo(java.io.DataOutputStream out)
throws java.io.IOException
StreamablewriteTo in interface StreamablewriteTo in class RequestCorrelator.Headerjava.io.IOExceptionpublic void readFrom(java.io.DataInputStream in)
throws java.io.IOException,
java.lang.IllegalAccessException,
java.lang.InstantiationException
StreamablereadFrom in interface StreamablereadFrom in class RequestCorrelator.Headerjava.io.IOExceptionjava.lang.IllegalAccessExceptionjava.lang.InstantiationExceptionpublic int size()
Headersize in class RequestCorrelator.Headerpublic java.lang.String toString()
toString in class RequestCorrelator.HeaderCopyright ? 1998-2009 Bela Ban / Red Hat. All Rights Reserved.