QListeningSocket.hh

00001 /*
00002 * APOLLO: A complete DAQ and Online Data Analysis Framework for Cuore 
00003 * $Id: QListeningSocket.hh 16 2006-04-21 17:14:09Z pallas $
00004 * M.P. created 16/4/4
00005 * 
00006 * Class QCommand: base class for all commands
00007 *
00008 */
00009 
00010 #ifndef _LISTENING_SOCKET_H
00011 #define _LISTENING_SOCKET_H
00012 
00013 #include "QCuore.hh"
00014 #include "QFileDescriptor.hh"
00015 
00016 class QListeningSocket : public QFileDescriptor 
00017 {
00018 
00019 public:
00020 
00021   // ctor
00022   QListeningSocket( int );
00023    
00024   // dtor
00025   virtual ~QListeningSocket() {}
00026    
00027   // Handle Command
00028   virtual void HandleCommand( QDescriptorList& List);
00029    
00030   // Accept connection and return file descriptor
00031   virtual const int WaitConnection() const;
00032 };
00033 
00034 #endif // _LISTENING_SOCKET_H
00035 
00036     

Generated on Fri Mar 6 13:40:39 2009 for CUORE Software by  doxygen 1.5.1