Merge pull request #2317 from jwillemsen/jwi-deleteop
[ACE_TAO.git] / ACE / examples / C++NPv2 / Reactor_Logging_Server_Adapter.h
blobf3b1a3b7846673ee1beb0e0e227b79e1c77dc6c2
1 /*
2 ** Copyright 2002 Addison Wesley. All Rights Reserved.
3 */
5 #ifndef _REACTOR_LOGGING_SERVER_ADAPTER_H
6 #define _REACTOR_LOGGING_SERVER_ADAPTER_H
8 #include "ace/Service_Object.h"
9 #include "Reactor_Logging_Server_T.h"
11 template <class ACCEPTOR>
12 class Reactor_Logging_Server_Adapter : public ACE_Service_Object {
13 public:
14 // Hook methods inherited from <ACE_Service_Object>.
15 virtual int init (int argc, ACE_TCHAR *argv[]);
16 virtual int fini ();
17 virtual int info (ACE_TCHAR **, size_t) const;
18 virtual int suspend ();
19 virtual int resume ();
21 private:
22 Reactor_Logging_Server<ACCEPTOR> *server_;
25 #include "Reactor_Logging_Server_Adapter.cpp"
27 #endif /* _REACTOR_LOGGING_SERVER_ADAPTER_H */