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