File: __db_pget_msg.java

package info (click to toggle)
evolution-data-server 1.0.4-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 39,504 kB
  • ctags: 26,423
  • sloc: ansic: 175,347; tcl: 30,499; sh: 20,699; perl: 11,320; xml: 9,039; java: 7,653; cpp: 6,029; makefile: 4,866; awk: 1,338; yacc: 1,103; sed: 772; cs: 505; lex: 134; asm: 14
file content (83 lines) | stat: -rw-r--r-- 2,611 bytes parent folder | download | duplicates (16)
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
/*
 * 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 __db_pget_msg implements XdrAble {
    public int dbpcl_id;
    public int txnpcl_id;
    public int skeydlen;
    public int skeydoff;
    public int skeyulen;
    public int skeyflags;
    public byte [] skeydata;
    public int pkeydlen;
    public int pkeydoff;
    public int pkeyulen;
    public int pkeyflags;
    public byte [] pkeydata;
    public int datadlen;
    public int datadoff;
    public int dataulen;
    public int dataflags;
    public byte [] datadata;
    public int flags;

    public __db_pget_msg() {
    }

    public __db_pget_msg(XdrDecodingStream xdr)
           throws OncRpcException, IOException {
        xdrDecode(xdr);
    }

    public void xdrEncode(XdrEncodingStream xdr)
           throws OncRpcException, IOException {
        xdr.xdrEncodeInt(dbpcl_id);
        xdr.xdrEncodeInt(txnpcl_id);
        xdr.xdrEncodeInt(skeydlen);
        xdr.xdrEncodeInt(skeydoff);
        xdr.xdrEncodeInt(skeyulen);
        xdr.xdrEncodeInt(skeyflags);
        xdr.xdrEncodeDynamicOpaque(skeydata);
        xdr.xdrEncodeInt(pkeydlen);
        xdr.xdrEncodeInt(pkeydoff);
        xdr.xdrEncodeInt(pkeyulen);
        xdr.xdrEncodeInt(pkeyflags);
        xdr.xdrEncodeDynamicOpaque(pkeydata);
        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 {
        dbpcl_id = xdr.xdrDecodeInt();
        txnpcl_id = xdr.xdrDecodeInt();
        skeydlen = xdr.xdrDecodeInt();
        skeydoff = xdr.xdrDecodeInt();
        skeyulen = xdr.xdrDecodeInt();
        skeyflags = xdr.xdrDecodeInt();
        skeydata = xdr.xdrDecodeDynamicOpaque();
        pkeydlen = xdr.xdrDecodeInt();
        pkeydoff = xdr.xdrDecodeInt();
        pkeyulen = xdr.xdrDecodeInt();
        pkeyflags = xdr.xdrDecodeInt();
        pkeydata = xdr.xdrDecodeDynamicOpaque();
        datadlen = xdr.xdrDecodeInt();
        datadoff = xdr.xdrDecodeInt();
        dataulen = xdr.xdrDecodeInt();
        dataflags = xdr.xdrDecodeInt();
        datadata = xdr.xdrDecodeDynamicOpaque();
        flags = xdr.xdrDecodeInt();
    }

}
// End of __db_pget_msg.java