summaryrefslogtreecommitdiff
path: root/examples/Logger/simple-server/Logging_Acceptor.h
diff options
context:
space:
mode:
authornobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-01-01 08:00:34 +0000
committernobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-01-01 08:00:34 +0000
commitd9661aebab28abc0ec4fb1e716170d347d56c168 (patch)
treeecb671ab4b8e299bf5cbb8b2dfeed8a49b65fc06 /examples/Logger/simple-server/Logging_Acceptor.h
parentea0d28240863caf437a18071bfd03e7b146c5ade (diff)
downloadATCD-unlabeled-4.3.2.tar.gz
This commit was manufactured by cvs2svn to create branchunlabeled-4.3.2
'unlabeled-4.3.2'.
Diffstat (limited to 'examples/Logger/simple-server/Logging_Acceptor.h')
-rw-r--r--examples/Logger/simple-server/Logging_Acceptor.h49
1 files changed, 0 insertions, 49 deletions
diff --git a/examples/Logger/simple-server/Logging_Acceptor.h b/examples/Logger/simple-server/Logging_Acceptor.h
deleted file mode 100644
index b653774ddd0..00000000000
--- a/examples/Logger/simple-server/Logging_Acceptor.h
+++ /dev/null
@@ -1,49 +0,0 @@
-/* -*- C++ -*- */
-// $Id$
-
-
-// ============================================================================
-//
-// = LIBRARY
-// examples
-//
-// = FILENAME
-// Logging_Acceptor.h
-//
-// = AUTHOR
-// Doug Schmidt
-//
-// ============================================================================
-
-#if !defined (_CLIENT_ACCEPTOR_H)
-#define _CLIENT_ACCEPTOR_H
-
-#include "ace/SOCK_Acceptor.h"
-#include "ace/Event_Handler.h"
-
-class Logging_Acceptor : public ACE_Event_Handler
- // = TITLE
- // Handle connection requests from remote client clients.
- //
- // = DESCRIPTION
- // Accepts client connection requests, creates Logging_Handler's
- // to process them, and registers these Handlers with the
- // ACE_Reactor Singleton.
-{
-friend class Logging_Handler;
-public:
- Logging_Acceptor (void);
- ~Logging_Acceptor (void);
-
- int open (const ACE_INET_Addr &a);
-
-private:
- virtual ACE_HANDLE get_handle (void) const;
- virtual int handle_input (ACE_HANDLE);
- virtual int handle_close (ACE_HANDLE, ACE_Reactor_Mask);
-
- ACE_SOCK_Acceptor peer_acceptor_;
- // Passive connection acceptor factory.
-};
-
-#endif /* _CLIENT_ACCEPTOR_H */