1 #include "orbsvcs/Log_Macros.h"
3 #include "ace/OS_main.h"
7 // This is the main driver program for the Time Service clerk.
10 ACE_TMAIN (int argc
, ACE_TCHAR
* argv
[])
14 ORBSVCS_DEBUG ((LM_DEBUG
,
15 "[SERVER] Process/Thread Id : (%P/%t) Time Service clerk\n"));
19 int r
= clerk
.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");