__dbc_pget_reply.java   [plain text]


/*
 * Automatically generated by jrpcgen 0.95.1 on 12/18/01 7:23 PM
 * jrpcgen is part of the "Remote Tea" ONC/RPC package for Java
 * See http://acplt.org/ks/remotetea.html for details
 */
package com.sleepycat.db.rpcserver;
import org.acplt.oncrpc.*;
import java.io.IOException;

public class __dbc_pget_reply implements XdrAble {
    public int status;
    public byte [] skeydata;
    public byte [] pkeydata;
    public byte [] datadata;

    public __dbc_pget_reply() {
    }

    public __dbc_pget_reply(XdrDecodingStream xdr)
           throws OncRpcException, IOException {
        xdrDecode(xdr);
    }

    public void xdrEncode(XdrEncodingStream xdr)
           throws OncRpcException, IOException {
        xdr.xdrEncodeInt(status);
        xdr.xdrEncodeDynamicOpaque(skeydata);
        xdr.xdrEncodeDynamicOpaque(pkeydata);
        xdr.xdrEncodeDynamicOpaque(datadata);
    }

    public void xdrDecode(XdrDecodingStream xdr)
           throws OncRpcException, IOException {
        status = xdr.xdrDecodeInt();
        skeydata = xdr.xdrDecodeDynamicOpaque();
        pkeydata = xdr.xdrDecodeDynamicOpaque();
        datadata = xdr.xdrDecodeDynamicOpaque();
    }

}
// End of __dbc_pget_reply.java