diff options
Diffstat (limited to 'tests/DIOP/UDP_i.h')
-rw-r--r-- | tests/DIOP/UDP_i.h | 59 |
1 files changed, 29 insertions, 30 deletions
diff --git a/tests/DIOP/UDP_i.h b/tests/DIOP/UDP_i.h index fc58a7bea4e..23a7b3da3e2 100644 --- a/tests/DIOP/UDP_i.h +++ b/tests/DIOP/UDP_i.h @@ -1,23 +1,20 @@ // -*- C++ -*- -// $Id$ -// ============================================================================ -// -// = LIBRARY -// TAO/examples/Simple/UDP -// -// = FILENAME -// UDP_i.h -// -// = DESCRIPTION -// This class implements the server functionality of the UDP test. -// We support only single threaded servers, as we have a null mutex -// for locking our state. -// -// = AUTHOR -// Michael Kircher <Michael.Kircher@mchp.siemens.de> -// -// ============================================================================ +//============================================================================= +/** + * @file UDP_i.h + * + * $Id$ + * + * This class implements the server functionality of the UDP test. + * We support only single threaded servers, as we have a null mutex + * for locking our state. + * + * + * @author Michael Kircher <Michael.Kircher@mchp.siemens.de> + */ +//============================================================================= + #ifndef UDP_I_H #define UDP_I_H @@ -26,34 +23,36 @@ #include "ace/Hash_Map_Manager.h" #include "ace/Null_Mutex.h" +/** + * @class UDP_i: + * + * @brief UDP Object Implementation + * + * This class implements the UDP object, which accepts two methods. + * The first, <invoke> accepts a string identifying the client + * and a request_id so that the server can verify if the requests + * arrived in order. + */ class UDP_i: public POA_UDP { - // = TITLE - // UDP Object Implementation - // - // = DESCRIPTION - // This class implements the UDP object, which accepts two methods. - // The first, <invoke> accepts a string identifying the client - // and a request_id so that the server can verify if the requests - // arrived in order. public: // = Initialization and termination methods. + /// Constructor UDP_i (CORBA::ORB_ptr o); - // Constructor + /// Destructor ~UDP_i (void); - // Destructor virtual void invoke (const char *client_name, UDP_ptr udpHandler, CORBA::Long request_id); + /// Shutdown the server. virtual void shutdown (void); - // Shutdown the server. private: + /// ORB pointer. CORBA::ORB_var orb_; - // ORB pointer. ACE_Hash_Map_Manager_Ex < CORBA::String_var, CORBA::Long, |