2 /// Put the interfaces in a module, to avoid global namespace pollution
5 exception MyException
{};
6 /// A very simple interface
9 /// A method to shutdown the ORB
11 * This method is used to simplify the test shutdown process
13 oneway
void shutdown
();
15 // Methods for first test
17 // The client first calls this to generate a (user) exception
18 // which is handled in the application code
19 void throw_exception
() raises
(MyException
);
21 // Starts the nested sequence - client calls...
22 boolean call_me_back
(in Hello me
);
24 // ... then the server calls this back onto the client,
25 // which prompts the client to call...
28 // ... this ! The server interceptor will have been recording
29 // if any retention ID has been reused in the sequence of invocations
30 // @return true for all different, false otherwise.
31 boolean check_request_id
();
33 // Method for second test. Makes the servant perform
34 // a number of checks and then either commit suicide (to prompt a
35 // retry on the next member of the IOGR) or to return
36 // successfully if it has detected a regresssion.
37 // @return the number identifying this servant with teh group
38 unsigned long drop_down_dead
();