summaryrefslogtreecommitdiff
path: root/syncClientSocket.h
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2008-04-12 11:38:42 +0000
committerOthmar Gsenger <otti@anytun.org>2008-04-12 11:38:42 +0000
commitfffd213c8cba2135afda493d797c41c10354770e (patch)
treebb5eea1b12871d8c3fed0e687d83be3e504d11b2 /syncClientSocket.h
parentsvn cleanup (diff)
big svn cleanup
Diffstat (limited to 'syncClientSocket.h')
-rw-r--r--syncClientSocket.h34
1 files changed, 0 insertions, 34 deletions
diff --git a/syncClientSocket.h b/syncClientSocket.h
deleted file mode 100644
index ea2c11c..0000000
--- a/syncClientSocket.h
+++ /dev/null
@@ -1,34 +0,0 @@
-#ifndef _SYNCCLIENTSOCKET_H
-#define _SYNCCLIENTSOCKET_H
-
-#include "Sockets/TcpSocket.h"
-#include "Sockets/ISocketHandler.h"
-#include "connectionList.h"
-#include "syncCommand.h"
-#include <sstream>
-#include <iostream>
-#include <string>
-
-
-
-#ifdef SOCKETS_NAMESPACE
-using namespace SOCKETS_NAMESPACE;
-#endif // SOCKETS_NAMESPACE
-
-class SyncClientSocket : public TcpSocket
-{
-public:
- SyncClientSocket(ISocketHandler&,ConnectionList & );
-
- bool OnConnectRetry();
- void OnReconnect();
- void OnRawData(const char *buf,size_t len);
-private:
- ConnectionList & cl_;
- std::stringstream iss_;
- int32_t missing_chars;
- int32_t buffer_size_;
-};
-
-
-#endif // _SYNCSOCKET_H