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
public final class ReplyMessage_1_0 extends Message_1_0 implements ReplyMessage
This implements the GIOP 1.0 Reply header.- Version:
- 1.0
-
-
Field Summary
Fields Modifier and Type Field Description private CompletionStatus
completionStatus
private java.lang.String
exClassName
private IOR
ior
private int
minorCode
private ORB
orb
private int
reply_status
private int
request_id
private ServiceContexts
service_contexts
private static ORBUtilSystemException
wrapper
-
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.ReplyMessage
LOCATION_FORWARD, LOCATION_FORWARD_PERM, NEEDS_ADDRESSING_MODE, NO_EXCEPTION, SYSTEM_EXCEPTION, USER_EXCEPTION
-
-
Constructor Summary
Constructors Constructor Description ReplyMessage_1_0(ORB orb)
ReplyMessage_1_0(ORB orb, ServiceContexts _service_contexts, int _request_id, int _reply_status, IOR _ior)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
callback(MessageHandler handler)
short
getAddrDisposition()
IOR
getIOR()
int
getReplyStatus()
int
getRequestId()
ServiceContexts
getServiceContexts()
SystemException
getSystemException(java.lang.String message)
static void
isValidReplyStatus(int replyStatus)
void
read(InputStream istream)
void
setIOR(IOR ior)
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
-
wrapper
private static final ORBUtilSystemException wrapper
-
orb
private ORB orb
-
service_contexts
private ServiceContexts service_contexts
-
request_id
private int request_id
-
reply_status
private int reply_status
-
ior
private IOR ior
-
exClassName
private java.lang.String exClassName
-
minorCode
private int minorCode
-
completionStatus
private CompletionStatus completionStatus
-
-
Constructor Detail
-
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 Detail
-
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
public ServiceContexts getServiceContexts()
- Specified by:
getServiceContexts
in interfaceReplyMessage
-
getSystemException
public SystemException getSystemException(java.lang.String message)
- Specified by:
getSystemException
in interfaceLocateReplyOrReplyMessage
-
getIOR
public IOR getIOR()
- Specified by:
getIOR
in interfaceLocateReplyOrReplyMessage
-
setIOR
public void setIOR(IOR ior)
- Specified by:
setIOR
in interfaceReplyMessage
-
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
-
isValidReplyStatus
public static void isValidReplyStatus(int replyStatus)
-
callback
public void callback(MessageHandler handler) throws java.io.IOException
- Specified by:
callback
in interfaceMessage
- Overrides:
callback
in classMessageBase
- Throws:
java.io.IOException
-
-