3 //=============================================================================
7 * This class implements the server functionality of the UDP test.
8 * We support only single threaded servers, as we have a null mutex
9 * for locking our state.
11 * @author Michael Kircher <Michael.Kircher@mchp.siemens.de>
13 //=============================================================================
20 #include "ace/Hash_Map_Manager.h"
21 #include "ace/Null_Mutex.h"
26 * @brief UDP Object Implementation
28 * This class implements the UDP object, which accepts two methods.
29 * The first, <invoke> accepts a string identifying the client
30 * and a request_id so that the server can verify if the requests
33 class UDP_i
: public POA_UDP
37 UDP_i (CORBA::ORB_ptr o
);
42 virtual void invoke (const char *client_name
,
44 CORBA::Long request_id
);
46 /// Shutdown the server.
47 virtual void shutdown ();
53 ACE_Hash_Map_Manager_Ex
< CORBA::String_var
,
55 ACE_Hash
< const char * >,
56 ACE_Equal_To
< const char * >,
57 ACE_Null_Mutex
> request_id_table_
;