CMS 3D CMS Logo

IgSocket.h

Go to the documentation of this file.
00001 #ifndef IGUANA_WEB_FRAMEWORK_IG_SOCKET_H
00002 # define IGUANA_WEB_FRAMEWORK_IG_SOCKET_H
00003 
00004 //<<<<<< INCLUDES                                                       >>>>>>
00005 
00006 #include "Iguana/WebFramework/interface/config.h"
00007 #include <qsocket.h>
00008 #include <string>
00009 
00010 //<<<<<< PUBLIC DEFINES                                                 >>>>>>
00011 //<<<<<< PUBLIC CONSTANTS                                               >>>>>>
00012 //<<<<<< PUBLIC TYPES                                                   >>>>>>
00013 
00014 class IgState;
00015 
00016 //<<<<<< PUBLIC VARIABLES                                               >>>>>>
00017 //<<<<<< PUBLIC FUNCTIONS                                               >>>>>>
00018 //<<<<<< CLASS DECLARATIONS                                             >>>>>>
00019 
00020 class IGUANA_WEB_FRAMEWORK_API IgSocket : public QSocket
00021 {
00022     Q_OBJECT    
00023 public:
00024     IgSocket (IgState *state);
00025     const std::string& userAgent (void) const;
00026 
00027 public slots:
00028     void                dump (void);
00029 
00030 private:
00031     void                serverBusyMessage ();
00032     void                sendData (const std::string& data);
00033     IgState *           m_state;
00034     std::string         m_userAgent;
00035 };
00036 
00037 //<<<<<< INLINE PUBLIC FUNCTIONS                                        >>>>>>
00038 //<<<<<< INLINE MEMBER FUNCTIONS                                        >>>>>>
00039 
00040 #endif // IGUANA_WEB_FRAMEWORK_IG_SOCKET_H

Generated on Tue Jun 9 17:39:01 2009 for CMSSW by  doxygen 1.5.4