Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / Client_Leaks / Test.idl
blob5feb938827276f2040682e934309ebce8bdaea0f
2 module Test
4 /// Forward declare the Process interface
5 interface Process;
7 /// The process factory cannot create a new process
8 exception Spawn_Failed {};
10 /// A factory for processes
11 /**
12 * The client creates multiple processes using this interface, then
13 * it tries to crash the process and verify that it can work
14 * correctly in that scenario.
16 interface Process_Factory
18 /// Create a new process and return its object reference
19 Process create_new_process () raises (Spawn_Failed);
21 /// Empty method, used to validate the connection
22 void noop ();
24 /// Shutdown the process factory
25 oneway void shutdown ();
28 /// An interface to communicate and shutdown a process
29 interface Process
31 /// Return the process id
32 long get_process_id ();
34 /// Shutdown the process
35 oneway void shutdown ();
38 /// Used by the Process Factory to receive the IOR of newly created
39 /// processes
40 interface Startup_Callback
42 void started (in Process the_process);