blob: 8c7290cd399dbd2c2f412e8c80aff87a0a388f9c (
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
|
#include "ace/Service_Config.h"
#include "ace/Svc_Handler.h"
#include "ace/SOCK_Stream.h"
class Svc_Handler : public ACE_Svc_Handler<ACE_SOCK_STREAM, ACE_NULL_SYNCH>
// = TITLE
// This class is the product created by both <ACE_Connector>
// and <ACE_Acceptor> objects.
//
// = DESCRIPTION
// This class gets its own header file to work around AIX C++
// compiler "features" related to template instantiation... It is
// only used by Conn_Test.cpp.
{
public:
Svc_Handler (ACE_Thread_Manager * = 0);
// Do-nothing constructor.
virtual int open (void *);
// Initialization hook.
virtual int recycle (void * = 0);
// Prepare for recycling.
void send_data (void);
// Send data to server.
void recv_data (void);
// Recv data from client.
int close (u_long = 0);
// Shutdown the <Svc_Handler>.
};
|