#include <Istream.h>
#include "CFileEvent.h"
#include "CSocket.h"
Go to the source code of this file.
Classes | |
class | CServerConnectionEvent |
Copyright
Required for current class
Include files:
Required for base classes CEvent # 298 "/scratch/nscldaq-8.0-pre1/framework/CServerConnectionEvent.h" 2
Required for 1:1 association classes CSocket # 303 "/scratch/nscldaq-8.0-pre1/framework/CServerConnectionEvent.h" 2
/*! This class encapsulates the process of listening for and accepting client connections to a Tcp/Ip service. The event is policy free in the sense that all it does is set up an encapsulated CSocket to listen on a specified port and listen for connections on the socket within a thread. When a connection request is received... it is accepted and the resulting socket is passed to OnConnection()
The user of this class in general will subclass the server and override the default (no-op) implementation of OnConnection()
Definition in file CServerConnectionEvent.h.