Adding websocket server code, so that a gateway is no longer required. Still kind of untested. Requires websocketpp.

This commit is contained in:
lotodore
2013-09-15 22:54:45 +02:00
parent b0e4018883
commit 8e39432754
19 changed files with 175 additions and 376 deletions
-6
View File
@@ -35,7 +35,6 @@
#include <boost/shared_ptr.hpp>
#include <net/receivebuffer.h>
#include <net/sessiondata.h>
#include <playerdata.h>
@@ -135,10 +134,6 @@ public:
m_hasSubscribedLobbyMsg = setSubscribe;
}
ReceiveBuffer &GetReceiveBuffer() {
return m_receiveBuffer;
}
const std::string &GetSessionGuid() const {
return m_sessionGuid;
}
@@ -164,7 +159,6 @@ private:
std::string m_avatarFile;
std::string m_cacheDir;
bool m_hasSubscribedLobbyMsg;
ReceiveBuffer m_receiveBuffer;
std::string m_sessionGuid;
};