Main Page   Namespace List   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

event.h

Go to the documentation of this file.
00001 
00008 #ifndef EVENT_H
00009 #define EVENT_H
00010 
00017 typedef enum {
00018   NONE_E = 0,      
00019   CONNECT_E,       
00020   DISCONNECT_E,    
00021   MESSAGE_E,       
00022   SHUTDOWN_E       
00023 } Event_T;
00024 
00034 class Event {
00035 public:
00036   Event(Event_T etype, SOCKET eid, int elen, const char* edata);
00037   ~Event();
00038 
00039   Event_T      mEventType;   
00040   unsigned int mClientId;    
00041   int          mDataLen;     
00042   char*        mpData;       
00043 private:
00044   Event(Event&);
00045   Event& operator=(Event&);
00046 
00047 };
00048 
00049 #endif //       EVENT_H
00050 

Generated on Mon Mar 29 23:12:53 2004 for Paradigm by doxygen1.2.17