Class Message_1_2
java.lang.Object
com.sun.corba.ee.impl.protocol.giopmsgheaders.MessageBase
com.sun.corba.ee.impl.protocol.giopmsgheaders.Message_1_1
com.sun.corba.ee.impl.protocol.giopmsgheaders.Message_1_2
- All Implemented Interfaces:
Message
- Direct Known Subclasses:
FragmentMessage_1_2, LocateReplyMessage_1_2, LocateRequestMessage_1_2, ReplyMessage_1_2, RequestMessage_1_2
-
Field Summary
FieldsFields inherited from interface Message
defaultBufferSize, FLAG_NO_FRAG_BIG_ENDIAN, GIOPBigMagic, GIOPCancelRequest, GIOPCloseConnection, GIOPFragment, GIOPLocateReply, GIOPLocateRequest, GIOPMessageError, GIOPMessageHeaderLength, GIOPReply, GIOPRequest, LITTLE_ENDIAN_BIT, MORE_FRAGMENTS_BIT, THREAD_POOL_TO_USE_MASK, TRAILING_TWO_BIT_BYTE_MASK -
Method Summary
Modifier and TypeMethodDescriptionReturn a Message's CorbaRequestId.voidunmarshalRequestID(ByteBuffer byteBuffer) The byteBuffer is presumed to have contents of the message already read in.voidwrite(OutputStream ostream) Methods inherited from class Message_1_1
createFragmentMessage, getGIOPVersion, getSize, getType, isLittleEndian, moreFragmentsToFollow, read, setSize, setThreadPoolToUseMethods inherited from class MessageBase
callback, createCancelRequest, createCloseConnection, createLocateReply, createLocateRequest, createMessageError, createReply, createRequest, getEncodingVersion, getRequestIdFromMessageBytes, getThreadPoolToUse, parseGiopHeader, setEncodingVersion, setFlag, supportsFragments, typeToString
-
Field Details
-
request_id
protected int request_id
-
-
Method Details
-
unmarshalRequestID
The byteBuffer is presumed to have contents of the message already read in. It must have 12 bytes of space at the beginning for the GIOP header, but the header doesn't have to be copied in.- Parameters:
byteBuffer- buffer to get request ID of
-
write
- Specified by:
writein interfaceMessage- Overrides:
writein classMessage_1_1
-
getCorbaRequestId
Description copied from class:MessageBaseReturn a Message's CorbaRequestId. NOTE: This method should be overridden for messages that support a 4 byte request id following the 12 byte GIOP message header.- Specified by:
getCorbaRequestIdin interfaceMessage- Overrides:
getCorbaRequestIdin classMessageBase- Returns:
- a Message's CorbaRequestId.
-