summaryrefslogtreecommitdiff
path: root/examples/C++NPv2/Service_Reporter.h
diff options
context:
space:
mode:
authornobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-04-10 19:59:37 +0000
committernobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-04-10 19:59:37 +0000
commit3df4acfa816441fc28a95dee6d0191a927145d95 (patch)
treeb5ae7ca44662cfd8e5c95f1826e4406021a606f5 /examples/C++NPv2/Service_Reporter.h
parent60a5612b83d856fc0adc52b9f39fac9960ec9818 (diff)
downloadATCD-pre-subset.tar.gz
This commit was manufactured by cvs2svn to create tag 'pre-subset'.pre-subset
Diffstat (limited to 'examples/C++NPv2/Service_Reporter.h')
-rw-r--r--examples/C++NPv2/Service_Reporter.h38
1 files changed, 0 insertions, 38 deletions
diff --git a/examples/C++NPv2/Service_Reporter.h b/examples/C++NPv2/Service_Reporter.h
deleted file mode 100644
index c6de7484767..00000000000
--- a/examples/C++NPv2/Service_Reporter.h
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
-** $Id$
-**
-** Copyright 2002 Addison Wesley. All Rights Reserved.
-*/
-
-#ifndef _SERVICE_REPORTER_H
-#define _SERVICE_REPORTER_H
-
-#include "ace/Reactor.h"
-#include "ace/Service_Object.h"
-#include "ace/SOCK_Acceptor.h"
-
-
-class Service_Reporter : public ACE_Service_Object {
-public:
- Service_Reporter (ACE_Reactor *r = ACE_Reactor::instance ())
- : ACE_Service_Object (r) {}
-
-protected:
- // Hook methods inherited from <ACE_Service_Object>.
- virtual int init (int argc, ACE_TCHAR *argv[]);
- virtual int fini ();
- virtual int info (ACE_TCHAR **, size_t) const;
- virtual int suspend ();
- virtual int resume ();
-
- // Reactor hook methods.
- virtual int handle_input (ACE_HANDLE);
- virtual ACE_HANDLE get_handle () const
- { return acceptor_.get_handle (); }
-
-private:
- ACE_SOCK_Acceptor acceptor_; // Acceptor instance.
- enum { DEFAULT_PORT = 9411 };
-};
-
-#endif /* _SERVICE_REPORTER_H */