1 #include "airplane_server_i.h"
4 ACE_TMAIN(int argc
, ACE_TCHAR
*argv
[])
6 Airplane_Server_i server
;
8 ACE_DEBUG ((LM_DEBUG
, "\n\tPaper Airplane Server\n\n"));
12 if (server
.init (argc
, argv
) == -1)
15 int const retval
= server
.run ();
17 ACE_DEBUG ((LM_DEBUG
, "Paper Airplane Server says goodnight\n"));
21 catch (const CORBA::SystemException
& sysex
)
23 sysex
._tao_print_exception ("System Exception");
25 catch (const CORBA::UserException
& userex
)
27 userex
._tao_print_exception ("User Exception");