__db_get_h_nelem_reply.java [plain text]
package com.sleepycat.db.rpcserver;
import org.acplt.oncrpc.*;
import java.io.IOException;
public class __db_get_h_nelem_reply implements XdrAble {
public int status;
public int nelem;
public __db_get_h_nelem_reply() {
}
public __db_get_h_nelem_reply(XdrDecodingStream xdr)
throws OncRpcException, IOException {
xdrDecode(xdr);
}
public void xdrEncode(XdrEncodingStream xdr)
throws OncRpcException, IOException {
xdr.xdrEncodeInt(status);
xdr.xdrEncodeInt(nelem);
}
public void xdrDecode(XdrDecodingStream xdr)
throws OncRpcException, IOException {
status = xdr.xdrDecodeInt();
nelem = xdr.xdrDecodeInt();
}
}