Methods Summary |
---|
public void | callback(MessageHandler handler)
handler.handleInput(this);
|
public short | getAddrDisposition()
return KeyAddr.value;
|
public com.sun.corba.se.spi.ior.IOR | getIOR()
return this.ior;
|
public int | getReplyStatus()
return this.reply_status;
|
public int | getRequestId()
return this.request_id;
|
public org.omg.CORBA.SystemException | getSystemException(java.lang.String message)
return null; // 1.0 LocateReply body does not contain SystemException
|
public static void | isValidReplyStatus(int replyStatus)
switch (replyStatus) {
case UNKNOWN_OBJECT :
case OBJECT_HERE :
case OBJECT_FORWARD :
break;
default :
ORBUtilSystemException localWrapper = ORBUtilSystemException.get(
CORBALogDomains.RPC_PROTOCOL ) ;
throw localWrapper.illegalReplyStatus( CompletionStatus.COMPLETED_MAYBE);
}
|
public void | read(org.omg.CORBA.portable.InputStream istream)
super.read(istream);
this.request_id = istream.read_ulong();
this.reply_status = istream.read_long();
isValidReplyStatus(this.reply_status); // raises exception on error
// The code below reads the reply body if status is OBJECT_FORWARD
if (this.reply_status == OBJECT_FORWARD) {
CDRInputStream cdr = (CDRInputStream) istream;
this.ior = IORFactories.makeIOR( cdr ) ;
}
|
public void | write(org.omg.CORBA.portable.OutputStream ostream)
super.write(ostream);
ostream.write_ulong(this.request_id);
ostream.write_long(this.reply_status);
|