2
* Automatically generated by jrpcgen 0.95.1 on 12/18/01 7:23 PM
3
* jrpcgen is part of the "Remote Tea" ONC/RPC package for Java
4
* See http://acplt.org/ks/remotetea.html for details
6
package com.sleepycat.db.rpcserver;
7
import org.acplt.oncrpc.*;
8
import java.io.IOException;
10
public class __db_put_msg implements XdrAble {
17
public byte [] keydata;
22
public byte [] datadata;
25
public __db_put_msg() {
28
public __db_put_msg(XdrDecodingStream xdr)
29
throws OncRpcException, IOException {
33
public void xdrEncode(XdrEncodingStream xdr)
34
throws OncRpcException, IOException {
35
xdr.xdrEncodeInt(dbpcl_id);
36
xdr.xdrEncodeInt(txnpcl_id);
37
xdr.xdrEncodeInt(keydlen);
38
xdr.xdrEncodeInt(keydoff);
39
xdr.xdrEncodeInt(keyulen);
40
xdr.xdrEncodeInt(keyflags);
41
xdr.xdrEncodeDynamicOpaque(keydata);
42
xdr.xdrEncodeInt(datadlen);
43
xdr.xdrEncodeInt(datadoff);
44
xdr.xdrEncodeInt(dataulen);
45
xdr.xdrEncodeInt(dataflags);
46
xdr.xdrEncodeDynamicOpaque(datadata);
47
xdr.xdrEncodeInt(flags);
50
public void xdrDecode(XdrDecodingStream xdr)
51
throws OncRpcException, IOException {
52
dbpcl_id = xdr.xdrDecodeInt();
53
txnpcl_id = xdr.xdrDecodeInt();
54
keydlen = xdr.xdrDecodeInt();
55
keydoff = xdr.xdrDecodeInt();
56
keyulen = xdr.xdrDecodeInt();
57
keyflags = xdr.xdrDecodeInt();
58
keydata = xdr.xdrDecodeDynamicOpaque();
59
datadlen = xdr.xdrDecodeInt();
60
datadoff = xdr.xdrDecodeInt();
61
dataulen = xdr.xdrDecodeInt();
62
dataflags = xdr.xdrDecodeInt();
63
datadata = xdr.xdrDecodeDynamicOpaque();
64
flags = xdr.xdrDecodeInt();
68
// End of __db_put_msg.java