Class RequestMessage_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
com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2
- All Implemented Interfaces:
Message
,RequestMessage
This implements the GIOP 1.2 Request header.
- Version:
- 1.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ObjectKeyCacheEntry
private String
private ORB
private byte[]
private byte
private ServiceContexts
private TargetAddress
private static final ORBUtilSystemException
Fields inherited from class com.sun.corba.ee.impl.protocol.giopmsgheaders.Message_1_2
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
Fields inherited from interface com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage
RESPONSE_EXPECTED_BIT
-
Constructor Summary
ConstructorsConstructorDescriptionRequestMessage_1_2
(ORB orb) RequestMessage_1_2
(ORB orb, int _request_id, byte _response_flags, byte[] _reserved, TargetAddress _target, String _operation, ServiceContexts _service_contexts) -
Method Summary
Modifier and TypeMethodDescriptionvoid
callback
(MessageHandler handler) int
byte[]
boolean
void
read
(InputStream istream) void
boolean
Returns true if this message could be followed by a fragment.void
write
(OutputStream ostream) Methods inherited from class com.sun.corba.ee.impl.protocol.giopmsgheaders.Message_1_2
getCorbaRequestId, unmarshalRequestID
Methods inherited from class com.sun.corba.ee.impl.protocol.giopmsgheaders.Message_1_1
createFragmentMessage, getGIOPVersion, getSize, getType, isLittleEndian, moreFragmentsToFollow, setSize, setThreadPoolToUse
Methods inherited from class com.sun.corba.ee.impl.protocol.giopmsgheaders.MessageBase
createCancelRequest, createCloseConnection, createLocateReply, createLocateRequest, createMessageError, createReply, createRequest, extractObjectKeyCacheEntry, getEncodingVersion, getRequestIdFromMessageBytes, getSystemException, getThreadPoolToUse, nullCheck, parseGiopHeader, setEncodingVersion, setFlag, typeToString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.sun.corba.ee.impl.protocol.giopmsgheaders.Message
createFragmentMessage, getCorbaRequestId, getEncodingVersion, getGIOPVersion, getSize, getThreadPoolToUse, getType, isLittleEndian, moreFragmentsToFollow, setEncodingVersion, setSize
Methods inherited from interface com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage
setThreadPoolToUse
-
Field Details
-
wrapper
-
orb
-
response_flags
private byte response_flags -
reserved
private byte[] reserved -
target
-
operation
-
service_contexts
-
entry
-
-
Constructor Details
-
RequestMessage_1_2
RequestMessage_1_2(ORB orb) -
RequestMessage_1_2
RequestMessage_1_2(ORB orb, int _request_id, byte _response_flags, byte[] _reserved, TargetAddress _target, String _operation, ServiceContexts _service_contexts)
-
-
Method Details
-
getRequestId
public int getRequestId()- Specified by:
getRequestId
in interfaceRequestMessage
-
isResponseExpected
public boolean isResponseExpected()- Specified by:
isResponseExpected
in interfaceRequestMessage
-
getReserved
public byte[] getReserved()- Specified by:
getReserved
in interfaceRequestMessage
-
getObjectKeyCacheEntry
- Specified by:
getObjectKeyCacheEntry
in interfaceRequestMessage
-
getOperation
- Specified by:
getOperation
in interfaceRequestMessage
-
getPrincipal
- Specified by:
getPrincipal
in interfaceRequestMessage
-
getServiceContexts
- Specified by:
getServiceContexts
in interfaceRequestMessage
-
setServiceContexts
- Specified by:
setServiceContexts
in interfaceRequestMessage
-
read
- Specified by:
read
in interfaceMessage
- Overrides:
read
in classMessage_1_1
-
write
- Specified by:
write
in interfaceMessage
- Overrides:
write
in classMessage_1_2
-
callback
- Specified by:
callback
in interfaceMessage
- Overrides:
callback
in classMessageBase
- Throws:
IOException
-
supportsFragments
public boolean supportsFragments()Description copied from class:MessageBase
Returns true if this message could be followed by a fragment.- Specified by:
supportsFragments
in interfaceMessage
- Overrides:
supportsFragments
in classMessageBase
- Returns:
true
if Message supports fragmenting or is a message fragment. Otherwisefalse
it does not support message fragments.
-