org.jacorb.orb.giop
Class ReplyInputStream
java.lang.Object
java.io.InputStream
org.omg.CORBA.portable.InputStream
org.omg.CORBA_2_3.portable.InputStream
org.jacorb.orb.CDRInputStream
org.jacorb.orb.giop.MessageInputStream
org.jacorb.orb.giop.ServiceContextTransportingInputStream
org.jacorb.orb.giop.ReplyInputStream
- All Implemented Interfaces:
- java.io.Closeable, CodeSet.InputBuffer
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
Methods inherited from class org.jacorb.orb.CDRInputStream |
available, close, closeEncapsulation, get_pos, getBufferCopy, getGIOPMinor, mark, markSupported, openEncapsulatedArray, openEncapsulation, orb, read_abstract_interface, read_abstract_interface, read_any, read_boolean_array, read_boolean, read_char_array, read_char, read_double_array, read_double, read_fixed, read_fixed, read_float_array, read_float, read_long_array, read_long, read_longlong_array, read_longlong, read_Object, read_Object, read_octet_array, read_octet, read_Principal, read_short_array, read_short, read_string, read_TypeCode, read_ulong_array, read_ulong, read_ulonglong_array, read_ulonglong, read_ushort_array, read_ushort, read_value, read_value, read_value, read_value, read_value, read_wchar_array, read_wchar, read_wstring, read, read, read, readBOM, readByte, register_value, reset, setCodeSet, setGIOPMinor, setLittleEndian, skip, updateMutatorConnection |
Methods inherited from class java.io.InputStream |
skip |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
rep_hdr
public final ReplyHeader_1_2 rep_hdr
ReplyInputStream
public ReplyInputStream(ORB orb,
byte[] buffer)
getStatus
public ReplyStatusType_1_2 getStatus()
- Returns the reply status of this reply.
getException
public java.lang.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.
getServiceContext
public ServiceContext getServiceContext(int id)
- Returns the ServiceContext with the given id, if one is present.
If there is no such ServiceContext, returns null.
getBody
public byte[] getBody()
- Returns a copy of the body of this reply. This does not include
the GIOP header and the reply header.
finalize
protected void finalize()
throws java.lang.Throwable
- Overrides:
finalize
in class java.lang.Object
- Throws:
java.lang.Throwable