1 #include "orbsvcs/Log_Macros.h"
3 #include "ace/OS_main.h"
6 // This is the main driver program for the Time Service server.
9 ACE_TMAIN (int argc
, ACE_TCHAR
* argv
[])
13 ORBSVCS_DEBUG ((LM_DEBUG
,
14 "[SERVER] Process/Thread Id : (%P/%t) Time Service server\n"));
18 int r
= server
.init (argc
, argv
);
27 catch (const CORBA::SystemException
& sysex
)
29 sysex
._tao_print_exception ("System Exception");
32 catch (const CORBA::UserException
& userex
)
34 userex
._tao_print_exception ("User Exception");