00001
00002
00003
00004
00005
00006 package com.sleepycat.db.rpcserver;
00007 import org.acplt.oncrpc.*;
00008 import java.io.IOException;
00009
00010 public class __env_dbrename_msg implements XdrAble {
00011 public int dbenvcl_id;
00012 public int txnpcl_id;
00013 public String name;
00014 public String subdb;
00015 public String newname;
00016 public int flags;
00017
00018 public __env_dbrename_msg() {
00019 }
00020
00021 public __env_dbrename_msg(XdrDecodingStream xdr)
00022 throws OncRpcException, IOException {
00023 xdrDecode(xdr);
00024 }
00025
00026 public void xdrEncode(XdrEncodingStream xdr)
00027 throws OncRpcException, IOException {
00028 xdr.xdrEncodeInt(dbenvcl_id);
00029 xdr.xdrEncodeInt(txnpcl_id);
00030 xdr.xdrEncodeString(name);
00031 xdr.xdrEncodeString(subdb);
00032 xdr.xdrEncodeString(newname);
00033 xdr.xdrEncodeInt(flags);
00034 }
00035
00036 public void xdrDecode(XdrDecodingStream xdr)
00037 throws OncRpcException, IOException {
00038 dbenvcl_id = xdr.xdrDecodeInt();
00039 txnpcl_id = xdr.xdrDecodeInt();
00040 name = xdr.xdrDecodeString();
00041 subdb = xdr.xdrDecodeString();
00042 newname = xdr.xdrDecodeString();
00043 flags = xdr.xdrDecodeInt();
00044 }
00045
00046 }
00047