summaryrefslogtreecommitdiff
path: root/src/lib/cdap.proto
blob: f641fc650217a0488baf6e92a0760d721dcd2dc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
enum opcode {
        CREATE = 1;
        DELETE = 2;
        READ   = 3;
        WRITE  = 4;
        START  = 5;
        STOP   = 6;
        REPLY  = 7;
}

message cdap {
        required opcode opcode    = 1;
        required uint32 invoke_id = 2;
        optional uint32 flags     = 3;
        optional string name      = 4;
        optional bytes value      = 5;
        optional int32 result     = 6;
}