org.jacorb.orb.giop

Class ReplyInputStream


public class ReplyInputStream
extends ServiceContextTransportingInputStream

Version:
$Id: ReplyInputStream.java,v 1.21 2004/05/06 12:40:00 nicolas Exp $

Author:
Gerald Brose, FU Berlin 1999

Field Summary

ReplyHeader_1_2
rep_hdr

Fields inherited from class org.jacorb.orb.giop.MessageInputStream

msg_size

Fields inherited from class org.jacorb.orb.CDRInputStream

buffer, giop_minor, index, littleEndian, pos

Constructor Summary

ReplyInputStream(ORB orb, byte[] buffer)

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.
ReplyStatusType_1_2
getStatus()
Returns the reply status of this reply.

Methods inherited from class org.jacorb.orb.giop.ServiceContextTransportingInputStream

skipHeaderPadding

Methods inherited from class org.jacorb.orb.CDRInputStream

available, close, closeEncapsulation, getBufferCopy, getGIOPMinor, get_pos, mark, markSupported, openEncapsulatedArray, openEncapsulation, orb, read, read, read, read_Object, read_Object, read_Principal, read_TypeCode, read_abstract_interface, read_abstract_interface, read_any, read_boolean, read_boolean_array, read_char, read_char_array, read_double, read_double_array, read_fixed, read_float, read_float_array, read_long, read_long_array, read_longlong, read_longlong_array, read_octet, read_octet_array, read_short, read_short_array, read_string, read_ulong, read_ulong_array, read_ulonglong, read_ulonglong_array, read_ushort, read_ushort_array, read_value, read_value, read_value, read_value, read_value, read_wchar, read_wchar_array, read_wstring, register_value, reset, setCodeSet, setGIOPMinor, setLittleEndian, skip

Methods inherited from class org.omg.CORBA_2_3.portable.InputStream

read_abstract_interface, read_abstract_interface, read_value, read_value, read_value, read_value, read_value

Methods inherited from class org.omg.CORBA.portable.InputStream

orb, read, read_Context, read_Object, read_Object, read_Principal, read_TypeCode, read_any, read_boolean, read_boolean_array, read_char, read_char_array, read_double, read_double_array, read_fixed, read_fixed, read_float, read_float_array, read_long, read_long_array, read_longlong, read_longlong_array, read_octet, read_octet_array, read_short, read_short_array, read_string, read_ulong, read_ulong_array, read_ulonglong, read_ulonglong_array, read_ushort, read_ushort_array, read_wchar, read_wchar_array, read_wstring

Field Details

rep_hdr

public ReplyHeader_1_2 rep_hdr

Constructor Details

ReplyInputStream

public ReplyInputStream(ORB orb,
                        byte[] buffer)

Method Details

finalize

protected void finalize()
            throws Throwable


getBody

public byte[] getBody()
Returns a copy of the body of this reply. This does not include the GIOP header and the reply header.


getException

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.


getStatus

public ReplyStatusType_1_2 getStatus()
Returns the reply status of this reply.