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_get_dbname_reply implements XdrAble {
00011 public int status;
00012 public String filename;
00013 public String dbname;
00014
00015 public __db_get_dbname_reply() {
00016 }
00017
00018 public __db_get_dbname_reply(XdrDecodingStream xdr)
00019 throws OncRpcException, IOException {
00020 xdrDecode(xdr);
00021 }
00022
00023 public void xdrEncode(XdrEncodingStream xdr)
00024 throws OncRpcException, IOException {
00025 xdr.xdrEncodeInt(status);
00026 xdr.xdrEncodeString(filename);
00027 xdr.xdrEncodeString(dbname);
00028 }
00029
00030 public void xdrDecode(XdrDecodingStream xdr)
00031 throws OncRpcException, IOException {
00032 status = xdr.xdrDecodeInt();
00033 filename = xdr.xdrDecodeString();
00034 dbname = xdr.xdrDecodeString();
00035 }
00036
00037 }
00038