BVB Source Codes

CRYENGINE Show SimpleHttpServerWebsocketEchoListener.h Source code

Return Download CRYENGINE: download SimpleHttpServerWebsocketEchoListener.h Source code - Download CRYENGINE Source code - Type:.h
  1. // Copyright 2001-2016 Crytek GmbH / Crytek Group. All rights reserved.
  2.  
  3. #ifndef __SIMPLEHTTPSERVERWEBSOCKETECHOLISTENER_H__
  4. #define __SIMPLEHTTPSERVERWEBSOCKETECHOLISTENER_H__
  5.  
  6. #pragma once
  7.  
  8. #if defined(HTTP_WEBSOCKETS)
  9.  
  10. class CSimpleHttpServerWebsocketEchoListener : public IHttpWebsocketProtocol
  11. {
  12. public:
  13.  
  14.         static CSimpleHttpServerWebsocketEchoListener& GetSingleton();
  15.  
  16. private:
  17.  
  18.         CSimpleHttpServerWebsocketEchoListener() {};
  19.         ~CSimpleHttpServerWebsocketEchoListener() {};
  20.  
  21.         void OnUpgrade(int connectionID);
  22.         void OnReceive(int connectionID, SMessageData& data);
  23.         void OnClosed(int connectionID, bool bGraceful);
  24.  
  25.         static CSimpleHttpServerWebsocketEchoListener s_singleton;
  26. };
  27.  
  28. #endif // HTTP_WEBSOCKETS
  29.  
  30. #endif // __SIMPLEHTTPSERVERWEBSOCKETECHOLISTENER_H__
  31.  
downloadSimpleHttpServerWebsocketEchoListener.h Source code - Download CRYENGINE Source code
Related Source Codes/Software:
postal - 2017-06-11
reactide - Reactide is the first dedicated IDE for React web ... 2017-06-11
rkt - rkt is a pod-native container engine for Linux. It... 2017-06-11
uWebSockets - Tiny WebSockets https://for... 2017-06-11
realworld - TodoMVC for the RealWorld - Exemplary fullstack Me... 2017-06-11
CRYENGINE - CRYENGINE is a powerful real-time game development... 2017-06-11
goreplay - GoReplay is an open-source tool for capturing and ... 2017-06-10
pyenv - Simple Python version management 2017-06-10
redux-saga - An alternative side effect model for Redux apps ... 2017-06-10
angular-starter - 2017-06-10

 Back to top