2 ** Copyright 2002 Addison Wesley. All Rights Reserved.
5 #include "Reactor_Logging_Server_T.h"
6 #include "Logging_Acceptor_Ex.h"
7 #include "ace/Log_Msg.h"
9 typedef Reactor_Logging_Server
<Logging_Acceptor_Ex
>
10 Server_Logging_Daemon
;
12 int ACE_TMAIN (int argc
, ACE_TCHAR
*argv
[])
15 Server_Logging_Daemon
*server
;
18 ACE_NEW_RETURN (server
,
19 Server_Logging_Daemon (argc
, argv
, &reactor
),
22 if (reactor
.run_reactor_event_loop () == -1)
23 ACE_ERROR_RETURN ((LM_ERROR
, "%p\n",
24 "run_reactor_event_loop()"), 1);