summaryrefslogtreecommitdiff
path: root/TAO/tests/LongWrites/Test.idl
blob: 43d2eb7c3a35820002e6917034ef848e33c280ce (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
37
//
// $Id$
//

module Test
{
  typedef sequence<octet> Payload;

  interface Receiver {
    /// Receive a big payload
    oneway void receive_data (in Payload the_payload);
  };

  interface Sender {
    /// Create a Data_Server that sends back data to <payload>
    void add_receiver (in Receiver the_receiver);

    /// Start sending events...
    oneway void send_events(in long event_count,
                            in unsigned long event_size);

    /// Shutdown the sender
    oneway void shutdown();
  };

  interface Coordinator {
    /// Add a new pair
    void add_pair (in Receiver the_receiver,
                   in Sender the_sender);

    /// Run the test
    void start();

    /// Shutdown the test
    oneway void shutdown();
  };
};