Overview
::
Library Doc
::
Server Doc
::
JSON Commands
In Situ Animation of Accelerated Computations
src
WebSocketDataConnector.hpp
Go to the documentation of this file.
1
/* This file is part of ISAAC.
2
*
3
* ISAAC is free software: you can redistribute it and/or modify
4
* it under the terms of the GNU Lesser General Public License as
5
* published by the Free Software Foundation, either version 3 of the
6
* License, or (at your option) any later version.
7
*
8
* ISAAC is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU Lesser General Public License for more details.
12
*
13
* You should have received a copy of the GNU Lesser General Public
14
* License along with ISAAC. If not, see <www.gnu.org/licenses/>. */
15
16
#pragma once
17
18
#include "
MetaDataConnector.hpp
"
19
20
#include <libwebsockets.h>
21
24
class
WebSocketDataConnector
:
public
MetaDataConnector
25
{
26
public
:
27
WebSocketDataConnector
();
28
errorCode
init
(
int
port,std::string interface);
29
errorCode
run
();
30
std::string
getName
();
31
private
:
32
struct
lws_context *context;
33
};
MetaDataConnector.hpp
WebSocketDataConnector::getName
std::string getName()
Definition:
WebSocketDataConnector.cpp:43
WebSocketDataConnector
Definition:
WebSocketDataConnector.hpp:24
WebSocketDataConnector::WebSocketDataConnector
WebSocketDataConnector()
Definition:
WebSocketDataConnector.cpp:38
errorCode
int errorCode
Definition:
Common.hpp:24
WebSocketDataConnector::init
errorCode init(int port, std::string interface)
Definition:
WebSocketDataConnector.cpp:201
MetaDataConnector
Definition:
MetaDataConnector.hpp:29
WebSocketDataConnector::run
errorCode run()
Definition:
WebSocketDataConnector.cpp:226
Generated on Wed Dec 14 2016 16:48:57 for ISAAC Server by
1.8.12