blob: 179dc0e38d382766f1c739d97e316b2125a0d203 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
/* -*- C++ -*- */
// $Id$
// ============================================================================
//
// = LIBRARY
// apps
//
// = FILENAME
// Proxy_Handler_acceptor.h
//
// = AUTHOR
// Doug Schmidt
//
// ============================================================================
#if !defined (_PROXY_HANDLER_ACCEPTOR)
#define _PROXY_HANDLER_ACCEPTOR
#include "ace/Acceptor.h"
#include "ace/SOCK_Acceptor.h"
#include "Proxy_Handler.h"
// Forward declaration
class ACE_Event_Channel;
class Proxy_Handler_Acceptor : public ACE_Acceptor<Proxy_Handler_Factory, ACE_SOCK_ACCEPTOR>
// = TITLE
// A concrete factory class that setups connections to peerds
// and produces a new Proxy_Handler object to do the dirty work...
{
public:
Proxy_Handler_Acceptor (ACE_Event_Channel &);
protected:
ACE_Event_Channel &event_channel_;
// Reference to the event channel.
};
#endif /* _PROXY_HANDLER_ACCEPTOR */
|