Package org.jgroups.blocks
Class RequestCorrelator.MultiDestinationHeader
java.lang.Object
org.jgroups.Header
org.jgroups.blocks.RequestCorrelator.Header
org.jgroups.blocks.RequestCorrelator.MultiDestinationHeader
- All Implemented Interfaces:
Constructable<Header>,SizeStreamable,Streamable
- Enclosing class:
RequestCorrelator
-
Field Summary
FieldsModifier and TypeFieldDescriptionAddress[]Contains a list of members who should not receive the request (others will drop). -
Constructor Summary
ConstructorsConstructorDescriptionMultiDestinationHeader(byte type, long id, short corr_id, Address[] exclusion_list) -
Method Summary
Modifier and TypeMethodDescriptioncreate()Creates an instance of the class implementing this interfaceshortReturns the magic-ID.voidRead the state of the current object (including superclasses) from instream Note that the input stream must not be closedintReturns the size (in bytes) of the marshalled objecttoString()voidwriteTo(DataOutput out) Write the entire state of the current object (including superclasses) to outstream.Methods inherited from class org.jgroups.blocks.RequestCorrelator.Header
corrId, requestId, requestId, rspExpected
-
Field Details
-
exclusion_list
Contains a list of members who should not receive the request (others will drop). Ignored if null
-
-
Constructor Details
-
MultiDestinationHeader
public MultiDestinationHeader() -
MultiDestinationHeader
-
-
Method Details
-
getMagicId
public short getMagicId()Description copied from class:HeaderReturns the magic-ID. If defined in jg-magic-map.xml, the IDs need to be the same- Overrides:
getMagicIdin classRequestCorrelator.Header
-
create
Description copied from interface:ConstructableCreates an instance of the class implementing this interface- Specified by:
createin interfaceConstructable<Header>- Overrides:
createin classRequestCorrelator.Header
-
writeTo
Description copied from interface:StreamableWrite the entire state of the current object (including superclasses) to outstream. Note that the output stream must not be closed- Specified by:
writeToin interfaceStreamable- Overrides:
writeToin classRequestCorrelator.Header- Throws:
IOException
-
readFrom
Description copied from interface:StreamableRead the state of the current object (including superclasses) from instream Note that the input stream must not be closed- Specified by:
readFromin interfaceStreamable- Overrides:
readFromin classRequestCorrelator.Header- Throws:
IOExceptionClassNotFoundException
-
serializedSize
public int serializedSize()Description copied from interface:SizeStreamableReturns the size (in bytes) of the marshalled object- Specified by:
serializedSizein interfaceSizeStreamable- Overrides:
serializedSizein classRequestCorrelator.Header
-
toString
- Overrides:
toStringin classRequestCorrelator.Header
-