blob: 98d12423dc5d480de019aacc38c33647f058f185 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
/*
* Automatically generated by jrpcgen 0.95.1 on 12/18/01 7:23 PM
* jrpcgen is part of the "Remote Tea" ONC/RPC package for Java
* See http://acplt.org/ks/remotetea.html for details
*/
package com.sleepycat.db.rpcserver;
import org.acplt.oncrpc.*;
import java.io.IOException;
public class __dbc_put_msg implements XdrAble {
public int dbccl_id;
public int keydlen;
public int keydoff;
public int keyulen;
public int keyflags;
public byte [] keydata;
public int datadlen;
public int datadoff;
public int dataulen;
public int dataflags;
public byte [] datadata;
public int flags;
public __dbc_put_msg() {
}
public __dbc_put_msg(XdrDecodingStream xdr)
throws OncRpcException, IOException {
xdrDecode(xdr);
}
public void xdrEncode(XdrEncodingStream xdr)
throws OncRpcException, IOException {
xdr.xdrEncodeInt(dbccl_id);
xdr.xdrEncodeInt(keydlen);
xdr.xdrEncodeInt(keydoff);
xdr.xdrEncodeInt(keyulen);
xdr.xdrEncodeInt(keyflags);
xdr.xdrEncodeDynamicOpaque(keydata);
xdr.xdrEncodeInt(datadlen);
xdr.xdrEncodeInt(datadoff);
xdr.xdrEncodeInt(dataulen);
xdr.xdrEncodeInt(dataflags);
xdr.xdrEncodeDynamicOpaque(datadata);
xdr.xdrEncodeInt(flags);
}
public void xdrDecode(XdrDecodingStream xdr)
throws OncRpcException, IOException {
dbccl_id = xdr.xdrDecodeInt();
keydlen = xdr.xdrDecodeInt();
keydoff = xdr.xdrDecodeInt();
keyulen = xdr.xdrDecodeInt();
keyflags = xdr.xdrDecodeInt();
keydata = xdr.xdrDecodeDynamicOpaque();
datadlen = xdr.xdrDecodeInt();
datadoff = xdr.xdrDecodeInt();
dataulen = xdr.xdrDecodeInt();
dataflags = xdr.xdrDecodeInt();
datadata = xdr.xdrDecodeDynamicOpaque();
flags = xdr.xdrDecodeInt();
}
}
// End of __dbc_put_msg.java
|