Class CancelRequestMessage_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.CancelRequestMessage_1_2
- All Implemented Interfaces:
CancelRequestMessage, Message
This implements the GIOP 1.2 CancelRequest header.
- Version:
- 1.0
-
Field Summary
FieldsFields inherited from class Message_1_1
flags, GIOP_version, magic, message_size, message_type, UPPER_THREE_BYTES_OF_INT_MASKFields inherited from interface CancelRequestMessage
CANCEL_REQ_MSG_SIZEFields 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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcallback(MessageHandler handler) Return a Message's CorbaRequestId.intvoidread(InputStream istream) voidwrite(OutputStream ostream) Methods inherited from class Message_1_1
createFragmentMessage, getGIOPVersion, getSize, getType, isLittleEndian, moreFragmentsToFollow, setSize, setThreadPoolToUseMethods inherited from class MessageBase
createCancelRequest, createCloseConnection, createLocateReply, createLocateRequest, createMessageError, createReply, createRequest, extractObjectKeyCacheEntry, getEncodingVersion, getRequestIdFromMessageBytes, getSystemException, getThreadPoolToUse, nullCheck, parseGiopHeader, setEncodingVersion, setFlag, supportsFragments, typeToStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Message
createFragmentMessage, getEncodingVersion, getGIOPVersion, getSize, getThreadPoolToUse, getType, isLittleEndian, moreFragmentsToFollow, setEncodingVersion, setSize, supportsFragments
-
Field Details
-
request_id
private int request_id
-
-
Constructor Details
-
CancelRequestMessage_1_2
CancelRequestMessage_1_2() -
CancelRequestMessage_1_2
CancelRequestMessage_1_2(int _request_id)
-
-
Method Details
-
getRequestId
public int getRequestId()- Specified by:
getRequestIdin interfaceCancelRequestMessage
-
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.
-
read
- Specified by:
readin interfaceMessage- Overrides:
readin classMessage_1_1
-
write
- Specified by:
writein interfaceMessage- Overrides:
writein classMessage_1_1
-
callback
- Specified by:
callbackin interfaceMessage- Overrides:
callbackin classMessageBase- Throws:
IOException
-