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