Class ReplyMessage_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.ReplyMessage_1_0
- All Implemented Interfaces:
LocateReplyOrReplyMessage, Message, ReplyMessage
This implements the GIOP 1.0 Reply header.
- Version:
- 1.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate CompletionStatusprivate Stringprivate IORprivate intprivate ORBprivate intprivate intprivate ServiceContextsprivate static final ORBUtilSystemExceptionFields inherited from class Message_1_0
byte_order, GIOP_version, magic, message_size, message_typeFields inherited from interface 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 ReplyMessage
LOCATION_FORWARD, LOCATION_FORWARD_PERM, NEEDS_ADDRESSING_MODE, NO_EXCEPTION, SYSTEM_EXCEPTION, USER_EXCEPTION -
Constructor Summary
ConstructorsConstructorDescriptionReplyMessage_1_0(ORB orb) ReplyMessage_1_0(ORB orb, ServiceContexts _service_contexts, int _request_id, int _reply_status, IOR _ior) -
Method Summary
Modifier and TypeMethodDescriptionvoidcallback(MessageHandler handler) shortgetIOR()intintgetSystemException(String message) static voidisValidReplyStatus(int replyStatus) voidread(InputStream istream) voidvoidwrite(OutputStream ostream) Methods inherited from class Message_1_0
createFragmentMessage, getGIOPVersion, getSize, getType, isLittleEndian, moreFragmentsToFollow, setSizeMethods inherited from class MessageBase
createCancelRequest, createCloseConnection, createLocateReply, createLocateRequest, createMessageError, createReply, createRequest, extractObjectKeyCacheEntry, getCorbaRequestId, getEncodingVersion, getRequestIdFromMessageBytes, getSystemException, getThreadPoolToUse, nullCheck, parseGiopHeader, setEncodingVersion, setFlag, supportsFragments, typeToStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Message
createFragmentMessage, getCorbaRequestId, getEncodingVersion, getGIOPVersion, getSize, getThreadPoolToUse, getType, isLittleEndian, moreFragmentsToFollow, setEncodingVersion, setSize, supportsFragments
-
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_0
ReplyMessage_1_0(ORB orb) -
ReplyMessage_1_0
ReplyMessage_1_0(ORB orb, ServiceContexts _service_contexts, int _request_id, int _reply_status, IOR _ior)
-
-
Method Details
-
getRequestId
public int getRequestId()- Specified by:
getRequestIdin interfaceLocateReplyOrReplyMessage
-
getReplyStatus
public int getReplyStatus()- Specified by:
getReplyStatusin interfaceLocateReplyOrReplyMessage
-
getAddrDisposition
public short getAddrDisposition()- Specified by:
getAddrDispositionin interfaceLocateReplyOrReplyMessage
-
getServiceContexts
- Specified by:
getServiceContextsin interfaceReplyMessage
-
getSystemException
- Specified by:
getSystemExceptionin interfaceLocateReplyOrReplyMessage
-
getIOR
- Specified by:
getIORin interfaceLocateReplyOrReplyMessage
-
setIOR
- Specified by:
setIORin interfaceReplyMessage
-
read
- Specified by:
readin interfaceMessage- Overrides:
readin classMessage_1_0
-
write
- Specified by:
writein interfaceMessage- Overrides:
writein classMessage_1_0
-
isValidReplyStatus
public static void isValidReplyStatus(int replyStatus) -
callback
- Specified by:
callbackin interfaceMessage- Overrides:
callbackin classMessageBase- Throws:
IOException
-