/*
 * Automatically generated by jrpcgen 1.0.7 on 29.11.2012
 * jrpcgen is part of the "Remote Tea.Net" ONC/RPC package for C#
 * See http://remotetea.sourceforge.net for details
 */
namespace NFSLibrary.Protocols.V4.RPC.Callback{
using org.acplt.oncrpc;

public class referring_call_list4 : XdrAble {
    public sessionid4 rcl_sessionid;
    public referring_call4 [] rcl_referring_calls;

    public referring_call_list4() {
    }

    public referring_call_list4(XdrDecodingStream xdr) {
        xdrDecode(xdr);
    }

    public void xdrEncode(XdrEncodingStream xdr) {
        { int _size = rcl_referring_calls.Length; xdr.xdrEncodeInt(_size); for ( int _idx = 0; _idx < _size; ++_idx ) { rcl_referring_calls[_idx].xdrEncode(xdr); } }
    }

    public void xdrDecode(XdrDecodingStream xdr) {
        { int _size = xdr.xdrDecodeInt(); rcl_referring_calls = new referring_call4[_size]; for ( int _idx = 0; _idx < _size; ++_idx ) { rcl_referring_calls[_idx] = new referring_call4(xdr); } }
    }

}
} // End of referring_call_list4.cs
