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