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

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

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