5 AMH_Servant.h/cpp : AMH Servant that implements the Test interface
6 Base_Server.h/cpp/inl : Wrapper to do 'common' ORB initialisation stuff on the server side
7 MT_AMH_Server.h/cpp : Adds multithreading capabilities to the Base_Server
8 Timer_Handler.cpp : Class to fire an AMH servant upcall after a set time
9 st_server.cpp : Single threaded AMH sink server application
10 st_server.conf : Configuration paramters to optimise a ST server
11 mt_server.cpp : Multi-threaded AMH sink server application
12 Client_Task.h/cpp : Wrapper class that does common client side functionalities
13 client.cpp : client application
19 Single Threaded Server: make st_server
20 Multi Threaded Server: make mt_server
25 Single threaded AMH Sink Server:
26 st_server -ORBsvcconf st_server.conf -o <ior_output_file> -s <sleep_time (in microseconds)>
28 e.g.: st_server -o test.ior -s 20000
29 to delay a reply to the client by 20 milliseconds.
31 Both options are necessary and there are no defaults.
34 Multi Threaded AMH Sink Server:
35 mt_server -o <ior_output_file> -n <num_threads> -s <sleep_time (in microseconds)>
37 Giving the parameters in the right order is STRONGLY recommended.
38 Unexpected behaviour may result otherwise. All three options are
39 necessary and there are no defaults
44 - Each client request is 'timed' (with the sleep_time) and registered
47 - Upon expiration of the timer, the reactor fires the timer_handler
48 and the AMH RH servant method is called to send the reply to the
54 On Linux systems, set POSIXLY_CORECT=1 for correct behaviour in
55 parsing of command line arguments.