gazetk / Protocol / specification / messages.proto @ 5d65b84e
History | View | Annotate | Download (804 Bytes)
1 | 0cee33d5 | Thies Pfeiffer | syntax = "proto2"; |
---|---|---|---|
2 | // |
||
3 | // Messages |
||
4 | // |
||
5 | // Defines the message structures used within the gazetk protocol |
||
6 | // |
||
7 | |||
8 | import "basic_types.proto"; |
||
9 | import "gaze2d_data.proto"; |
||
10 | import "gaze3d_data.proto"; |
||
11 | import "eye_data.proto"; |
||
12 | |||
13 | message Message { |
||
14 | 5d65b84e | Thies Pfeiffer | required gazetk.protocol.types.Timestamp timestamp = 1; // Time of the creation of the message |
15 | required string uuid = 2; // A unique ID to identify the message |
||
16 | required string sender_uuid = 3; // The unique ID identifying the sender |
||
17 | required string addressee_uuid = 4; // The unique ID of the addressee |
||
18 | 0cee33d5 | Thies Pfeiffer | oneof content { |
19 | 5d65b84e | Thies Pfeiffer | gazetk.protocol.EyeSample eyesample = 10; |
20 | 0cee33d5 | Thies Pfeiffer | gazetk.protocol.Gaze2DSample gaze2dsample = 12; |
21 | gazetk.protocol.Gaze2DFixation gaze2dfixation = 13; |
||
22 | } |
||
23 | } |