3 //=============================================================================
5 * @file Test_Client_Module.h
7 * @author Ossama Othman <ossama@uci.edu>
9 //=============================================================================
14 #include /**/ "ace/pre.h"
16 #include "Test_Client_Module_Export.h"
18 #if !defined (ACE_LACKS_PRAGMA_ONCE)
20 #endif /* ACE_LACKS_PRAGMA_ONCE */
23 #include "ace/Service_Config.h"
28 * @class Test_Client_Module
30 * @brief The shared object that is instantiated when the client-side
31 * test module/library is dynamically loaded.
33 * This class invokes an operation on a "remote" CORBA object.
36 class Test_Client_Module_Export Test_Client_Module
: public ACE_Task_Base
40 /// Initializes object when dynamic linking occurs.
41 virtual int init (int argc
, ACE_TCHAR
*argv
[]);
43 /// Terminates object when dynamic unlinking occurs.
44 virtual int fini (void);
46 /// Run by a daemon thread to handle deferred processing.
47 virtual int svc (void);
51 /// Reference to the ORB.
54 /// Reference to the test object.
59 ACE_FACTORY_DECLARE (Test_Client_Module
, Test_Client_Module
)
61 #include /**/ "ace/post.h"
63 #endif /* TEST_MODULE_H */