summaryrefslogtreecommitdiff
path: root/TAO/performance-tests/Protocols/test.idl
blob: 71bbaab76a6d55f40abb4ba58f297978405eb040 (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
// $Id$

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 ();
  
  void shutdown ();

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