Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

CServerConnectionEvent.h File Reference

#include <Istream.h>
#include "CFileEvent.h"
#include "CSocket.h"

Go to the source code of this file.

Classes

class  CServerConnectionEvent


Detailed Description

Author: Ron Fox NSCL Michigan State University East Lansing, MI 48824-1321 mailto:fox@nscl.msu.edu

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.


Generated on Thu Jan 6 16:58:43 2005 for Spectrodaq External Event Framework by  doxygen 1.3.9.1