blob: 5f7a40dac05dc389865f6c14abe0e60b218de0f6 (
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
|
// $Id$
/**
* @file Throughput_Base.idl
* @author Marijke Hengstmengel (mhengstmengel@remedy.nl)
*/
#ifndef THROUGHPUT_BASE_IDL
#define THROUGHPUT_BASE_IDL
const short MAX_DATA_SEQUENCE_LENGTH = 8192;
typedef enum ThroughputCommandKind
{
THROUGHPUT_COMMAND_IDLE,
THROUGHPUT_COMMAND_START,
THROUGHPUT_COMMAND_COMPLETE
} CommandKind;
typedef sequence<octet, MAX_DATA_SEQUENCE_LENGTH> OctetSeq;
struct ThroughputTest {
long key;
unsigned long long seq_num;
OctetSeq data;
};
struct ThroughputCommand
{
CommandKind command;
unsigned long data_length;
unsigned long long current_publisher_effort;
unsigned long long final_publisher_effort;
};
#endif
|