00001 /* ex: set tabstop=4 expandtab: */ 00002 /* */ 00003 /* (c) 2004-2006 Iowa State University */ 00004 /* see the LICENSE file in the top level directory */ 00005 /* */ 00006 /* $Header: /afs/scl/project/cvsroot/fountain/source/common/FountainSocketHandlers.h,v 1.16 2006/02/28 17:52:34 samm Exp $ */ 00013 #ifndef FOUNTAIN_SOCKET_HANDLERS_H__ 00014 #define FOUNTAIN_SOCKET_HANDLERS_H__ 00015 00016 #include "FountainWireProt.h" 00017 #include <bamboo/WireProt.h> 00018 #include <vector> 00019 00059 class FountainSocketHandlers : public BambooLib::ServerSocketHandlers { 00060 public: 00065 FountainWireProtPtr CheckConnections(); 00066 00067 private: 00068 //The FountainWireProt class needs to be our friend so they can access these private methods 00069 friend class FountainWireProt; 00070 00074 static void addSocket(int socket); 00075 00079 static void removeSocket(int socket); 00080 }; 00081 00082 #endif
1.4.6