Class RequestMessage_1_0
java.lang.Object
com.sun.corba.ee.impl.protocol.giopmsgheaders.MessageBase
com.sun.corba.ee.impl.protocol.giopmsgheaders.Message_1_0
com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_0
- All Implemented Interfaces:
Message,RequestMessage
This implements the GIOP 1.0 Request header.
- Version:
- 1.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ObjectKeyCacheEntryprivate byte[]private Stringprivate ORBprivate intprivate Principalprivate booleanprivate ServiceContextsFields inherited from class com.sun.corba.ee.impl.protocol.giopmsgheaders.Message_1_0
byte_order, GIOP_version, magic, message_size, message_typeFields 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_MASKFields inherited from interface com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage
RESPONSE_EXPECTED_BIT -
Constructor Summary
ConstructorsConstructorDescriptionRequestMessage_1_0(ORB orb) RequestMessage_1_0(ORB orb, ServiceContexts _service_contexts, int _request_id, boolean _response_expected, byte[] _object_key, String _operation, Principal _requesting_principal) -
Method Summary
Modifier and TypeMethodDescriptionvoidcallback(MessageHandler handler) intbyte[]booleanvoidread(InputStream istream) voidvoidsetThreadPoolToUse(int poolToUse) voidwrite(OutputStream ostream) Methods inherited from class com.sun.corba.ee.impl.protocol.giopmsgheaders.Message_1_0
createFragmentMessage, getGIOPVersion, getSize, getType, isLittleEndian, moreFragmentsToFollow, setSizeMethods inherited from class com.sun.corba.ee.impl.protocol.giopmsgheaders.MessageBase
createCancelRequest, createCloseConnection, createLocateReply, createLocateRequest, createMessageError, createReply, createRequest, extractObjectKeyCacheEntry, getCorbaRequestId, getEncodingVersion, getRequestIdFromMessageBytes, getSystemException, getThreadPoolToUse, nullCheck, parseGiopHeader, setEncodingVersion, setFlag, supportsFragments, typeToStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sun.corba.ee.impl.protocol.giopmsgheaders.Message
createFragmentMessage, getCorbaRequestId, getEncodingVersion, getGIOPVersion, getSize, getThreadPoolToUse, getType, isLittleEndian, moreFragmentsToFollow, setEncodingVersion, setSize, supportsFragments
-
Field Details
-
orb
-
service_contexts
-
request_id
private int request_id -
response_expected
private boolean response_expected -
object_key
private byte[] object_key -
operation
-
requesting_principal
-
entry
-
-
Constructor Details
-
RequestMessage_1_0
RequestMessage_1_0(ORB orb) -
RequestMessage_1_0
RequestMessage_1_0(ORB orb, ServiceContexts _service_contexts, int _request_id, boolean _response_expected, byte[] _object_key, String _operation, Principal _requesting_principal)
-
-
Method Details
-
getServiceContexts
- Specified by:
getServiceContextsin interfaceRequestMessage
-
setServiceContexts
- Specified by:
setServiceContextsin interfaceRequestMessage
-
getRequestId
public int getRequestId()- Specified by:
getRequestIdin interfaceRequestMessage
-
isResponseExpected
public boolean isResponseExpected()- Specified by:
isResponseExpectedin interfaceRequestMessage
-
getReserved
public byte[] getReserved()- Specified by:
getReservedin interfaceRequestMessage
-
getObjectKeyCacheEntry
- Specified by:
getObjectKeyCacheEntryin interfaceRequestMessage
-
getOperation
- Specified by:
getOperationin interfaceRequestMessage
-
getPrincipal
- Specified by:
getPrincipalin interfaceRequestMessage
-
setThreadPoolToUse
public void setThreadPoolToUse(int poolToUse) - Specified by:
setThreadPoolToUsein interfaceRequestMessage
-
read
- Specified by:
readin interfaceMessage- Overrides:
readin classMessage_1_0
-
write
- Specified by:
writein interfaceMessage- Overrides:
writein classMessage_1_0
-
callback
- Specified by:
callbackin interfaceMessage- Overrides:
callbackin classMessageBase- Throws:
IOException
-