org.jacorb.orb.giop
Class ReplyInputStream
public
class
ReplyInputStream
extends ServiceContextTransportingInputStream
Version: $Id: ReplyInputStream.java,v 1.24 2006/06/28 12:41:43 alphonse.bendt Exp $
Author: Gerald Brose, FU Berlin 1999
Method Summary |
protected void | finalize() |
byte[] | getBody()
Returns a copy of the body of this reply. |
Exception | getException()
Returns any exception that is indicated by this reply. |
ServiceContext | getServiceContext(int id)
Returns the ServiceContext with the given id, if one is present.
|
ReplyStatusType_1_2 | getStatus()
Returns the reply status of this reply. |
public final ReplyHeader_1_2 rep_hdr
public ReplyInputStream(ORB orb, byte[] buffer)
protected void finalize()
public byte[] getBody()
Returns a copy of the body of this reply. This does not include
the GIOP header and the reply header.
public Exception getException()
Returns any exception that is indicated by this reply. If
the reply status is USER_EXCEPTION, SYSTEM_EXCEPTION, LOCATION_FORWARD,
or LOCATION_FORWARD_PERM, an appropriate exception object is returned.
For any other status, returns null.
public ServiceContext getServiceContext(int id)
Returns the ServiceContext with the given id, if one is present.
If there is no such ServiceContext, returns null.
public ReplyStatusType_1_2 getStatus()
Returns the reply status of this reply.