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
public class Message_1_2 extends Message_1_1
-
-
Field Summary
Fields Modifier and Type Field Description protected int
request_id
-
Fields inherited from class com.sun.corba.ee.impl.protocol.giopmsgheaders.Message_1_1
flags, GIOP_version, magic, message_size, message_type, UPPER_THREE_BYTES_OF_INT_MASK
-
Fields inherited from interface com.sun.corba.ee.impl.protocol.giopmsgheaders.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
-
-
Constructor Summary
Constructors Constructor Description Message_1_2()
Message_1_2(int _magic, GIOPVersion _GIOP_version, byte _flags, byte _message_type, int _message_size)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RequestId
getCorbaRequestId()
Return a Message's CorbaRequestId.void
unmarshalRequestID(java.nio.ByteBuffer byteBuffer)
The byteBuffer is presumed to have contents of the message already read in.void
write(OutputStream ostream)
-
Methods inherited from class com.sun.corba.ee.impl.protocol.giopmsgheaders.Message_1_1
createFragmentMessage, getGIOPVersion, getSize, getType, isLittleEndian, moreFragmentsToFollow, read, setSize, setThreadPoolToUse
-
Methods inherited from class com.sun.corba.ee.impl.protocol.giopmsgheaders.MessageBase
callback, createCancelRequest, createCloseConnection, createLocateReply, createLocateRequest, createMessageError, createReply, createRequest, extractObjectKeyCacheEntry, getEncodingVersion, getRequestIdFromMessageBytes, getSystemException, getThreadPoolToUse, nullCheck, parseGiopHeader, setEncodingVersion, setFlag, supportsFragments, typeToString
-
-
-
-
Constructor Detail
-
Message_1_2
Message_1_2()
-
Message_1_2
Message_1_2(int _magic, GIOPVersion _GIOP_version, byte _flags, byte _message_type, int _message_size)
-
-
Method Detail
-
unmarshalRequestID
public void unmarshalRequestID(java.nio.ByteBuffer byteBuffer)
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
public void write(OutputStream ostream)
- Specified by:
write
in interfaceMessage
- Overrides:
write
in classMessage_1_1
-
getCorbaRequestId
public RequestId getCorbaRequestId()
Description copied from class:MessageBase
Return 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:
getCorbaRequestId
in interfaceMessage
- Overrides:
getCorbaRequestId
in classMessageBase
- Returns:
- a Message's CorbaRequestId.
-
-