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 __db_rename_msg implements XdrAble {
00011 public int dbpcl_id;
00012 public String name;
00013 public String subdb;
00014 public String newname;
00015 public int flags;
00016
00017 public __db_rename_msg() {
00018 }
00019
00020 public __db_rename_msg(XdrDecodingStream xdr)
00021 throws OncRpcException, IOException {
00022 xdrDecode(xdr);
00023 }
00024
00025 public void xdrEncode(XdrEncodingStream xdr)
00026 throws OncRpcException, IOException {
00027 xdr.xdrEncodeInt(dbpcl_id);
00028 xdr.xdrEncodeString(name);
00029 xdr.xdrEncodeString(subdb);
00030 xdr.xdrEncodeString(newname);
00031 xdr.xdrEncodeInt(flags);
00032 }
00033
00034 public void xdrDecode(XdrDecodingStream xdr)
00035 throws OncRpcException, IOException {
00036 dbpcl_id = xdr.xdrDecodeInt();
00037 name = xdr.xdrDecodeString();
00038 subdb = xdr.xdrDecodeString();
00039 newname = xdr.xdrDecodeString();
00040 flags = xdr.xdrDecodeInt();
00041 }
00042
00043 }
00044