netbula.ORPC

Class XDRIOStream


public class XDRIOStream
extends XDR

Class to serialize XDT objects from/to an IO stream, such as a file.

Field Summary

Fields inherited from class netbula.ORPC.XDR

UDPMSGSIZE, XDR_DECODE, XDR_ENCODE, XDR_FREE, xdr_op

Constructor Summary

XDRIOStream(InputStream in)
To decode from an InputStream
XDRIOStream(OutputStream out)
To encode to an OutputStream

Method Summary

void
reset()
Reinitialize the XDRIOStream object

Methods inherited from class netbula.ORPC.XDR

dec_String, dec_array, dec_boolean, dec_byte, dec_bytes, dec_bytes, dec_char, dec_char_array, dec_double, dec_double_array, dec_float, dec_float_array, dec_int, dec_int_array, dec_long, dec_long_array, dec_opaque, dec_ref, dec_short, dec_short_array, dec_void, enc_String, enc_array, enc_boolean, enc_byte, enc_bytes, enc_bytes, enc_char, enc_char_array, enc_double, enc_double_array, enc_float, enc_float_array, enc_int, enc_int_array, enc_long, enc_long_array, enc_opaque, enc_ref, enc_short, enc_short_array, enc_void, op, setStringCharset, xdr_byte_vec, xdr_char_vec, xdr_double_vec, xdr_float_vec, xdr_int_vec, xdr_long_vec, xdr_short_vec, xdr_vec

Constructor Details

XDRIOStream

public XDRIOStream(InputStream in)
To decode from an InputStream

XDRIOStream

public XDRIOStream(OutputStream out)
To encode to an OutputStream

Method Details

reset

public void reset()
Reinitialize the XDRIOStream object