summaryrefslogtreecommitdiff
path: root/bdb/rpc_server/java/gen/__db_open_reply.java
blob: d90c3754c2fee87d81974d988fa8a015cb4859b7 (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
/*
 * 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_open_reply implements XdrAble {
    public int status;
    public int dbcl_id;
    public int type;
    public int dbflags;
    public int lorder;

    public __db_open_reply() {
    }

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

    public void xdrEncode(XdrEncodingStream xdr)
           throws OncRpcException, IOException {
        xdr.xdrEncodeInt(status);
        xdr.xdrEncodeInt(dbcl_id);
        xdr.xdrEncodeInt(type);
        xdr.xdrEncodeInt(dbflags);
        xdr.xdrEncodeInt(lorder);
    }

    public void xdrDecode(XdrDecodingStream xdr)
           throws OncRpcException, IOException {
        status = xdr.xdrDecodeInt();
        dbcl_id = xdr.xdrDecodeInt();
        type = xdr.xdrDecodeInt();
        dbflags = xdr.xdrDecodeInt();
        lorder = xdr.xdrDecodeInt();
    }

}
// End of __db_open_reply.java