summaryrefslogtreecommitdiff
path: root/syncSocketHandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'syncSocketHandler.h')
-rw-r--r--syncSocketHandler.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/syncSocketHandler.h b/syncSocketHandler.h
new file mode 100644
index 0000000..6a666e1
--- /dev/null
+++ b/syncSocketHandler.h
@@ -0,0 +1,23 @@
+#ifndef _SYNCSOCKETHANDLER_H
+#define _SYNCSOCKETHANDLER_H
+
+#include "Sockets/TcpSocket.h"
+#include "Sockets/SocketHandler.h"
+#include "syncQueue.h"
+
+//#ifdef SOCKETS_NAMESPACE
+//using namespace SOCKETS_NAMESPACE;
+//#endif // SOCKETS_NAMESPACE
+
+class SyncSocketHandler : public SOCKETS_NAMESPACE::SocketHandler
+{
+public:
+ SyncSocketHandler(SyncQueue & );
+ int Select(long sec,long usec);
+
+private:
+ SyncQueue & queue_;
+};
+
+
+#endif // _SYNCSOCKET_H