Class LocateRequestMessage_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.LocateRequestMessage_1_2
-
- All Implemented Interfaces:
LocateRequestMessage,Message
public final class LocateRequestMessage_1_2 extends Message_1_2 implements LocateRequestMessage
This implements the GIOP 1.2 LocateRequest header.- Version:
- 1.0
-
-
Field Summary
Fields Modifier and Type Field Description private ObjectKeyCacheEntryentryprivate ORBorbprivate TargetAddresstarget-
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
-
-
Constructor Summary
Constructors Constructor Description LocateRequestMessage_1_2(ORB orb)LocateRequestMessage_1_2(ORB orb, int _request_id, TargetAddress _target)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcallback(MessageHandler handler)ObjectKeyCacheEntrygetObjectKeyCacheEntry()intgetRequestId()voidread(InputStream istream)booleansupportsFragments()Returns true if this message could be followed by a fragment.voidwrite(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
-
-
-
-
Field Detail
-
orb
private ORB orb
-
entry
private ObjectKeyCacheEntry entry
-
target
private TargetAddress target
-
-
Constructor Detail
-
LocateRequestMessage_1_2
LocateRequestMessage_1_2(ORB orb)
-
LocateRequestMessage_1_2
LocateRequestMessage_1_2(ORB orb, int _request_id, TargetAddress _target)
-
-
Method Detail
-
getRequestId
public int getRequestId()
- Specified by:
getRequestIdin interfaceLocateRequestMessage
-
getObjectKeyCacheEntry
public ObjectKeyCacheEntry getObjectKeyCacheEntry()
- Specified by:
getObjectKeyCacheEntryin interfaceLocateRequestMessage
-
read
public void read(InputStream istream)
- Specified by:
readin interfaceMessage- Overrides:
readin classMessage_1_1
-
write
public void write(OutputStream ostream)
- Specified by:
writein interfaceMessage- Overrides:
writein classMessage_1_2
-
callback
public void callback(MessageHandler handler) throws java.io.IOException
- Specified by:
callbackin interfaceMessage- Overrides:
callbackin classMessageBase- Throws:
java.io.IOException
-
supportsFragments
public boolean supportsFragments()
Description copied from class:MessageBaseReturns true if this message could be followed by a fragment.- Specified by:
supportsFragmentsin interfaceMessage- Overrides:
supportsFragmentsin classMessageBase- Returns:
trueif Message supports fragmenting or is a message fragment. Otherwisefalseit does not support message fragments.
-
-