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

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);
  };
};