blob: 4288c020df0ff04993305218cab53097df07943f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#ifndef _SYNCCLIENTSOCKET_H
#define _SYNCCLIENTSOCKET_H
#include "Sockets/TcpSocket.h"
#include "Sockets/ISocketHandler.h"
#include "connectionList.h"
#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_;
};
#endif // _SYNCSOCKET_H
|