/*
 * Automatically generated by jrpcgen 0.95.1 on 3/19/02 10:30 AM
 * 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 __env_dbrename_msg implements XdrAble {
    public int dbenvcl_id;
    public int txnpcl_id;
    public String name;
    public String subdb;
    public String newname;
    public int flags;

    public __env_dbrename_msg() {
    }

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

    public void xdrEncode(XdrEncodingStream xdr)
           throws OncRpcException, IOException {
        xdr.xdrEncodeInt(dbenvcl_id);
        xdr.xdrEncodeInt(txnpcl_id);
        xdr.xdrEncodeString(name);
        xdr.xdrEncodeString(subdb);
        xdr.xdrEncodeString(newname);
        xdr.xdrEncodeInt(flags);
    }

    public void xdrDecode(XdrDecodingStream xdr)
           throws OncRpcException, IOException {
        dbenvcl_id = xdr.xdrDecodeInt();
        txnpcl_id = xdr.xdrDecodeInt();
        name = xdr.xdrDecodeString();
        subdb = xdr.xdrDecodeString();
        newname = xdr.xdrDecodeString();
        flags = xdr.xdrDecodeInt();
    }

}
// End of __env_dbrename_msg.java
