summaryrefslogtreecommitdiff
path: root/modules/CIAO/performance-tests/Protocols/common/Protocols.idl
blob: c9943657993204206754a8c2d72f383d634901c1 (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
// $Id$
#ifndef PROTOCOLS_IDL
#define PROTOCOLS_IDL

#pragma ciao lem "../common/ProtocolsE.idl"

module Protocols
{
  interface test
  {
    void start_test (in long session_id,
                     in string protocol,
                     in unsigned long invocation_rate,
                     in unsigned long message_size,
                     in unsigned long iterations);

    void end_test ();

    oneway void oneway_sync ();

    void twoway_sync ();

    typedef sequence<octet> octets;

    oneway void oneway_method (in long session_id,
                               in unsigned long iteration,
                               in octets payload);

    void twoway_method (inout long session_id,
                        inout unsigned long iteration,
                        inout octets payload);
  };
};

#endif