Class ResponseHeader
java.lang.Object
javolution.io.Struct
dev.getelements.elements.rt.remote.ResponseHeader
public class ResponseHeader
extends javolution.io.Struct
Prepends a message response, providing scope and other information about the response.
-
Nested Class Summary
Nested classes/interfaces inherited from class javolution.io.Struct
javolution.io.Struct.BitField, javolution.io.Struct.Bool, javolution.io.Struct.Enum16<T extends Enum<T>>, javolution.io.Struct.Enum32<T extends Enum<T>>, javolution.io.Struct.Enum64<T extends Enum<T>>, javolution.io.Struct.Enum8<T extends Enum<T>>, javolution.io.Struct.Float32, javolution.io.Struct.Float64, javolution.io.Struct.Member, javolution.io.Struct.Reference32<S extends javolution.io.Struct>, javolution.io.Struct.Reference64<S extends javolution.io.Struct>, javolution.io.Struct.Signed16, javolution.io.Struct.Signed32, javolution.io.Struct.Signed64, javolution.io.Struct.Signed8, javolution.io.Struct.Unsigned16, javolution.io.Struct.Unsigned32, javolution.io.Struct.Unsigned8, javolution.io.Struct.UTF8String
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal javolution.io.Struct.Signed32
The uniquely assigned request identifier.final javolution.io.Struct.Enum32
<MessageType> Indicates the message type as specified byMessageType
.Fields inherited from class javolution.io.Struct
MAXIMUM_ALIGNMENT
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class javolution.io.Struct
address, array, array, array, array, array, array, array, byteOrder, getByteBuffer, getByteBufferPosition, inner, isPacked, isUnion, outer, read, readBits, setByteBuffer, setByteBufferPosition, size, toString, write, writeBits
-
Field Details
-
part
public final javolution.io.Struct.Signed32 partThe uniquely assigned request identifier. This further subdivides the invocation into multiple requests for each of the unique ID of the particular invocation. The request with the value of zero must be the initial request containing theInvocation
and subsequent values correspond to the index of theResultHandler
annotated parameter. Any response with an error may be routed to theErrorHandler
annotated parameter. -
type
Indicates the message type as specified byMessageType
.
-
-
Constructor Details
-
ResponseHeader
public ResponseHeader()
-