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
public final class RequestMessage_1_0 extends Message_1_0 implements RequestMessage
This implements the GIOP 1.0 Request header.- Version:
- 1.0
-
-
Field Summary
Fields Modifier and Type Field Description private ObjectKeyCacheEntry
entry
private byte[]
object_key
private java.lang.String
operation
private ORB
orb
private int
request_id
private Principal
requesting_principal
private boolean
response_expected
private ServiceContexts
service_contexts
-
Fields inherited from class com.sun.corba.ee.impl.protocol.giopmsgheaders.Message_1_0
byte_order, GIOP_version, magic, message_size, message_type
-
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
Constructors Constructor Description RequestMessage_1_0(ORB orb)
RequestMessage_1_0(ORB orb, ServiceContexts _service_contexts, int _request_id, boolean _response_expected, byte[] _object_key, java.lang.String _operation, Principal _requesting_principal)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
callback(MessageHandler handler)
ObjectKeyCacheEntry
getObjectKeyCacheEntry()
java.lang.String
getOperation()
Principal
getPrincipal()
int
getRequestId()
byte[]
getReserved()
ServiceContexts
getServiceContexts()
boolean
isResponseExpected()
void
read(InputStream istream)
void
setServiceContexts(ServiceContexts sc)
void
setThreadPoolToUse(int poolToUse)
void
write(OutputStream ostream)
-
Methods inherited from class com.sun.corba.ee.impl.protocol.giopmsgheaders.Message_1_0
createFragmentMessage, getGIOPVersion, getSize, getType, isLittleEndian, moreFragmentsToFollow, setSize
-
Methods 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, 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, supportsFragments
-
-
-
-
Field Detail
-
orb
private ORB orb
-
service_contexts
private ServiceContexts service_contexts
-
request_id
private int request_id
-
response_expected
private boolean response_expected
-
object_key
private byte[] object_key
-
operation
private java.lang.String operation
-
requesting_principal
private Principal requesting_principal
-
entry
private ObjectKeyCacheEntry entry
-
-
Constructor Detail
-
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, java.lang.String _operation, Principal _requesting_principal)
-
-
Method Detail
-
getServiceContexts
public ServiceContexts getServiceContexts()
- Specified by:
getServiceContexts
in interfaceRequestMessage
-
setServiceContexts
public void setServiceContexts(ServiceContexts sc)
- Specified by:
setServiceContexts
in interfaceRequestMessage
-
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
public ObjectKeyCacheEntry getObjectKeyCacheEntry()
- Specified by:
getObjectKeyCacheEntry
in interfaceRequestMessage
-
getOperation
public java.lang.String getOperation()
- Specified by:
getOperation
in interfaceRequestMessage
-
getPrincipal
public Principal getPrincipal()
- Specified by:
getPrincipal
in interfaceRequestMessage
-
setThreadPoolToUse
public void setThreadPoolToUse(int poolToUse)
- Specified by:
setThreadPoolToUse
in interfaceRequestMessage
-
read
public void read(InputStream istream)
- Specified by:
read
in interfaceMessage
- Overrides:
read
in classMessage_1_0
-
write
public void write(OutputStream ostream)
- Specified by:
write
in interfaceMessage
- Overrides:
write
in classMessage_1_0
-
callback
public void callback(MessageHandler handler) throws java.io.IOException
- Specified by:
callback
in interfaceMessage
- Overrides:
callback
in classMessageBase
- Throws:
java.io.IOException
-
-