|
|
@ -1,5 +1,6 @@ |
|
|
|
#include "WebSocks.h" |
|
|
|
#include "WebSocks.h" |
|
|
|
#include "Log.h" |
|
|
|
#include "Log.h" |
|
|
|
|
|
|
|
#include <string> |
|
|
|
|
|
|
|
|
|
|
|
#ifdef WITH_EVENTS |
|
|
|
#ifdef WITH_EVENTS |
|
|
|
#include "ClientContext.h" |
|
|
|
#include "ClientContext.h" |
|
|
@ -382,14 +383,24 @@ namespace client |
|
|
|
class WebSocksImpl |
|
|
|
class WebSocksImpl |
|
|
|
{ |
|
|
|
{ |
|
|
|
public: |
|
|
|
public: |
|
|
|
WebSocks(const std::string & addr, int port) {} |
|
|
|
WebSocksImpl(const std::string & addr, int port) |
|
|
|
~WebSocks(){} |
|
|
|
{ |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
~WebSocksImpl() |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void Start() |
|
|
|
void Start() |
|
|
|
{ |
|
|
|
{ |
|
|
|
LogPrint(eLogInfo, "WebSockets not enabled on compile time"); |
|
|
|
LogPrint(eLogInfo, "WebSockets not enabled on compile time"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void Stop() {} |
|
|
|
void Stop() |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
}; |
|
|
|
}; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|