Class ReplyMessage_1_1
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.ReplyMessage_1_1
- All Implemented Interfaces:
LocateReplyOrReplyMessage
,Message
,ReplyMessage
This implements the GIOP 1.1 Reply header.
- Version:
- 1.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate CompletionStatus
private String
private IOR
private int
private ORB
private int
private int
private ServiceContexts
private static final ORBUtilSystemException
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.ReplyMessage
LOCATION_FORWARD, LOCATION_FORWARD_PERM, NEEDS_ADDRESSING_MODE, NO_EXCEPTION, SYSTEM_EXCEPTION, USER_EXCEPTION
-
Constructor Summary
ConstructorsConstructorDescriptionReplyMessage_1_1
(ORB orb) ReplyMessage_1_1
(ORB orb, ServiceContexts _service_contexts, int _request_id, int _reply_status, IOR _ior) -
Method Summary
Modifier and TypeMethodDescriptionvoid
callback
(MessageHandler handler) short
getIOR()
int
int
getSystemException
(String message) static void
isValidReplyStatus
(int replyStatus) 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_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, getCorbaRequestId, 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 Details
-
wrapper
-
orb
-
service_contexts
-
request_id
private int request_id -
reply_status
private int reply_status -
ior
-
exClassName
-
minorCode
private int minorCode -
completionStatus
-
-
Constructor Details
-
ReplyMessage_1_1
ReplyMessage_1_1(ORB orb) -
ReplyMessage_1_1
ReplyMessage_1_1(ORB orb, ServiceContexts _service_contexts, int _request_id, int _reply_status, IOR _ior)
-
-
Method Details
-
getRequestId
public int getRequestId()- Specified by:
getRequestId
in interfaceLocateReplyOrReplyMessage
-
getReplyStatus
public int getReplyStatus()- Specified by:
getReplyStatus
in interfaceLocateReplyOrReplyMessage
-
getAddrDisposition
public short getAddrDisposition()- Specified by:
getAddrDisposition
in interfaceLocateReplyOrReplyMessage
-
getServiceContexts
- Specified by:
getServiceContexts
in interfaceReplyMessage
-
getSystemException
- Specified by:
getSystemException
in interfaceLocateReplyOrReplyMessage
-
getIOR
- Specified by:
getIOR
in interfaceLocateReplyOrReplyMessage
-
setIOR
- Specified by:
setIOR
in interfaceReplyMessage
-
read
- Specified by:
read
in interfaceMessage
- Overrides:
read
in classMessage_1_1
-
write
- Specified by:
write
in interfaceMessage
- Overrides:
write
in classMessage_1_1
-
isValidReplyStatus
public static void isValidReplyStatus(int replyStatus) -
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.
-