Class LocateReplyMessage_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.LocateReplyMessage_1_0
-
- All Implemented Interfaces:
LocateReplyMessage,LocateReplyOrReplyMessage,Message
public final class LocateReplyMessage_1_0 extends Message_1_0 implements LocateReplyMessage
This implements the GIOP 1.0 LocateReply header.- Version:
- 1.0
-
-
Field Summary
Fields Modifier and Type Field Description private IORiorprivate intlocate_statusprivate ORBorbprivate intrequest_idprivate static ORBUtilSystemExceptionwrapper-
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.LocateReplyMessage
LOC_NEEDS_ADDRESSING_MODE, LOC_SYSTEM_EXCEPTION, OBJECT_FORWARD, OBJECT_FORWARD_PERM, OBJECT_HERE, UNKNOWN_OBJECT
-
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 LocateReplyMessage_1_0(ORB orb)LocateReplyMessage_1_0(ORB orb, int _request_id, int _locate_status, IOR _ior)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcallback(MessageHandler handler)shortgetAddrDisposition()IORgetIOR()intgetReplyStatus()intgetRequestId()SystemExceptiongetSystemException(java.lang.String message)static voidisValidReplyStatus(int replyStatus)voidread(InputStream istream)voidwrite(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
-
request_id
private int request_id
-
locate_status
private int locate_status
-
ior
private IOR ior
-
-
Method Detail
-
getRequestId
public int getRequestId()
- Specified by:
getRequestIdin interfaceLocateReplyOrReplyMessage
-
getReplyStatus
public int getReplyStatus()
- Specified by:
getReplyStatusin interfaceLocateReplyOrReplyMessage
-
getAddrDisposition
public short getAddrDisposition()
- Specified by:
getAddrDispositionin interfaceLocateReplyOrReplyMessage
-
getSystemException
public SystemException getSystemException(java.lang.String message)
- Specified by:
getSystemExceptionin interfaceLocateReplyOrReplyMessage
-
getIOR
public IOR getIOR()
- Specified by:
getIORin interfaceLocateReplyOrReplyMessage
-
read
public void read(InputStream istream)
- Specified by:
readin interfaceMessage- Overrides:
readin classMessage_1_0
-
write
public void write(OutputStream ostream)
- Specified by:
writein interfaceMessage- Overrides:
writein classMessage_1_0
-
isValidReplyStatus
public static void isValidReplyStatus(int replyStatus)
-
callback
public void callback(MessageHandler handler) throws java.io.IOException
- Specified by:
callbackin interfaceMessage- Overrides:
callbackin classMessageBase- Throws:
java.io.IOException
-
-