4 /// Forward declare the Process interface
7 /// The process factory cannot create a new process
8 exception Spawn_Failed
{};
10 /// A factory for processes
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
24 /// Shutdown the process factory
25 oneway
void shutdown
();
28 /// An interface to communicate and shutdown a 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
40 interface Startup_Callback
42 void started
(in Process the_process
);