Vesna
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Public Member Functions | List of all members
WebSocketHandler Class Reference

The WebSocketHandler class - this class contains collection of WebSocketServerWrappers. These wrappers handle all WebSocket communication - WebSocketHandler will only receive and forward messages to app. More...

#include <WebSocketHandler.h>

Inheritance diagram for WebSocketHandler:
Inheritance graph
[legend]
Collaboration diagram for WebSocketHandler:
Collaboration graph
[legend]

Classes

class  DataClass
 

Public Member Functions

 WebSocketHandler ()
 
virtual ~WebSocketHandler ()
 
void Init (ApplicationStateManager *applicationStateManager)
 Init - initializes WebSocketHandler. More...
 
void RegisterWebSocketServer (const ApplicationDefines::WebSocketType webSocketType, const quint16 port)
 RegisterWebSocketServer - create a new WebSocketServerWrapper which is listening on specified port and add it to the collection. More...
 

Detailed Description

The WebSocketHandler class - this class contains collection of WebSocketServerWrappers. These wrappers handle all WebSocket communication - WebSocketHandler will only receive and forward messages to app.

Constructor & Destructor Documentation

WebSocketHandler::WebSocketHandler ( )
WebSocketHandler::~WebSocketHandler ( )
virtual

Member Function Documentation

void WebSocketHandler::Init ( ApplicationStateManager applicationStateManager)

Init - initializes WebSocketHandler.

void WebSocketHandler::RegisterWebSocketServer ( const ApplicationDefines::WebSocketType  webSocketType,
const quint16  port 
)

RegisterWebSocketServer - create a new WebSocketServerWrapper which is listening on specified port and add it to the collection.

Parameters
webSocketType- type of WebSocket server (only one instance of same type is permitted)
port- port on which is the socket listening

The documentation for this class was generated from the following files: