summaryrefslogtreecommitdiff
path: root/trunk/TAO/tests/LongUpcalls/Test.idl
blob: 047bd3bde5fa2198b5facad15d0ac9af19a953af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// $Id$

module Test
{
  interface Controller {
    void worker_started ();
    // A worker has started

    void worker_finished ();
    // A worker has finished
  };

  interface Manager {
    void start_workers (in short worker_count,
                        in long milliseconds,
                        in Controller the_controller);
    // Start <worker_count> workers, each one runs for the pescribed
    // number of milliseconds, and report progress to <the_controller>

    oneway void shutdown ();
    // Shutdown the Manager's ORB, just for cleanup purposes
  };
};