1 #include "orbsvcs/Log_Macros.h"
3 #include "ace/OS_main.h"
7 // This is the main driver program for the Time Service server.
10 ACE_TMAIN (int argc
, ACE_TCHAR
* argv
[])
14 ORBSVCS_DEBUG ((LM_DEBUG
,
15 "[SERVER] Process/Thread Id : (%P/%t) Time Service server\n"));
19 int r
= server
.init (argc
, argv
);
28 catch (const CORBA::SystemException
& sysex
)
30 sysex
._tao_print_exception ("System Exception");
33 catch (const CORBA::UserException
& userex
)
35 userex
._tao_print_exception ("User Exception");