Main Page | Class Hierarchy | Data Structures | Directories | File List | Data Fields | Related Pages

__db_open_msg.java

00001 /*
00002  * Automatically generated by jrpcgen 0.95.1 on 8/2/05 1:49 PM
00003  * jrpcgen is part of the "Remote Tea" ONC/RPC package for Java
00004  * See http://acplt.org/ks/remotetea.html for details
00005  */
00006 package com.sleepycat.db.rpcserver;
00007 import org.acplt.oncrpc.*;
00008 import java.io.IOException;
00009 
00010 public class __db_open_msg implements XdrAble {
00011     public int dbpcl_id;
00012     public int txnpcl_id;
00013     public String name;
00014     public String subdb;
00015     public int type;
00016     public int flags;
00017     public int mode;
00018 
00019     public __db_open_msg() {
00020     }
00021 
00022     public __db_open_msg(XdrDecodingStream xdr)
00023            throws OncRpcException, IOException {
00024         xdrDecode(xdr);
00025     }
00026 
00027     public void xdrEncode(XdrEncodingStream xdr)
00028            throws OncRpcException, IOException {
00029         xdr.xdrEncodeInt(dbpcl_id);
00030         xdr.xdrEncodeInt(txnpcl_id);
00031         xdr.xdrEncodeString(name);
00032         xdr.xdrEncodeString(subdb);
00033         xdr.xdrEncodeInt(type);
00034         xdr.xdrEncodeInt(flags);
00035         xdr.xdrEncodeInt(mode);
00036     }
00037 
00038     public void xdrDecode(XdrDecodingStream xdr)
00039            throws OncRpcException, IOException {
00040         dbpcl_id = xdr.xdrDecodeInt();
00041         txnpcl_id = xdr.xdrDecodeInt();
00042         name = xdr.xdrDecodeString();
00043         subdb = xdr.xdrDecodeString();
00044         type = xdr.xdrDecodeInt();
00045         flags = xdr.xdrDecodeInt();
00046         mode = xdr.xdrDecodeInt();
00047     }
00048 
00049 }
00050 // End of __db_open_msg.java

Generated on Sun Dec 25 12:14:48 2005 for Berkeley DB 4.4.16 by  doxygen 1.4.2