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

    Fields
    Modifier and Type
    Field
    Description
    final javolution.io.Struct.Signed32
    The uniquely assigned request identifier.
    final javolution.io.Struct.Enum32<MessageType>
    Indicates the message type as specified by MessageType.

    Fields inherited from class javolution.io.Struct

    MAXIMUM_ALIGNMENT
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • part

      public final javolution.io.Struct.Signed32 part
      The 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 the Invocation and subsequent values correspond to the index of the ResultHandler annotated parameter. Any response with an error may be routed to the ErrorHandler annotated parameter.
    • type

      public final javolution.io.Struct.Enum32<MessageType> type
      Indicates the message type as specified by MessageType.
  • Constructor Details

    • ResponseHeader

      public ResponseHeader()