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

__dbc_c_put_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 __dbc_c_put_msg implements XdrAble {
00011     public int dbccl_id;
00012     public int keydlen;
00013     public int keydoff;
00014     public int keyulen;
00015     public int keyflags;
00016     public byte [] keydata;
00017     public int datadlen;
00018     public int datadoff;
00019     public int dataulen;
00020     public int dataflags;
00021     public byte [] datadata;
00022     public int flags;
00023 
00024     public __dbc_c_put_msg() {
00025     }
00026 
00027     public __dbc_c_put_msg(XdrDecodingStream xdr)
00028            throws OncRpcException, IOException {
00029         xdrDecode(xdr);
00030     }
00031 
00032     public void xdrEncode(XdrEncodingStream xdr)
00033            throws OncRpcException, IOException {
00034         xdr.xdrEncodeInt(dbccl_id);
00035         xdr.xdrEncodeInt(keydlen);
00036         xdr.xdrEncodeInt(keydoff);
00037         xdr.xdrEncodeInt(keyulen);
00038         xdr.xdrEncodeInt(keyflags);
00039         xdr.xdrEncodeDynamicOpaque(keydata);
00040         xdr.xdrEncodeInt(datadlen);
00041         xdr.xdrEncodeInt(datadoff);
00042         xdr.xdrEncodeInt(dataulen);
00043         xdr.xdrEncodeInt(dataflags);
00044         xdr.xdrEncodeDynamicOpaque(datadata);
00045         xdr.xdrEncodeInt(flags);
00046     }
00047 
00048     public void xdrDecode(XdrDecodingStream xdr)
00049            throws OncRpcException, IOException {
00050         dbccl_id = xdr.xdrDecodeInt();
00051         keydlen = xdr.xdrDecodeInt();
00052         keydoff = xdr.xdrDecodeInt();
00053         keyulen = xdr.xdrDecodeInt();
00054         keyflags = xdr.xdrDecodeInt();
00055         keydata = xdr.xdrDecodeDynamicOpaque();
00056         datadlen = xdr.xdrDecodeInt();
00057         datadoff = xdr.xdrDecodeInt();
00058         dataulen = xdr.xdrDecodeInt();
00059         dataflags = xdr.xdrDecodeInt();
00060         datadata = xdr.xdrDecodeDynamicOpaque();
00061         flags = xdr.xdrDecodeInt();
00062     }
00063 
00064 }
00065 // End of __dbc_c_put_msg.java

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