OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
SocketServer Class Reference

#include "SocketServer.h"

Inheritance diagram for SocketServer:

Public Slots

QString performAction (const char *json, const char *senderIP)
 
void queueAction (const char *json, const char *senderIP)
 
void deallocateData (const char *data)
 

Public Member Functions

bool startServer (void)
 
bool sendHttpRequest (const std::string &operation, const std::string &url, const std::string &jsonData, std::string &response)
 
void setWebsocketIp (const std::string &_ip)
 
const std::string & getWebsocketIp (void) const
 
void setWebsocketPort (unsigned int _port)
 
unsigned int getWebsocketPort (void) const
 
void setRelayUrl (const std::string &_url)
 
const std::string & getRelayUrl (void) const
 

Static Public Member Functions

static SocketServerinstance (void)
 

Member Function Documentation

◆ deallocateData

void SocketServer::deallocateData ( const char * data)
slot

◆ getRelayUrl()

const std::string & SocketServer::getRelayUrl ( void ) const
inline

◆ getWebsocketIp()

const std::string & SocketServer::getWebsocketIp ( void ) const
inline

◆ getWebsocketPort()

unsigned int SocketServer::getWebsocketPort ( void ) const
inline

◆ instance()

SocketServer & SocketServer::instance ( void )
static

◆ performAction

QString SocketServer::performAction ( const char * json,
const char * senderIP )
slot

◆ queueAction

void SocketServer::queueAction ( const char * json,
const char * senderIP )
slot

◆ sendHttpRequest()

bool SocketServer::sendHttpRequest ( const std::string & operation,
const std::string & url,
const std::string & jsonData,
std::string & response )

◆ setRelayUrl()

void SocketServer::setRelayUrl ( const std::string & _url)
inline

◆ setWebsocketIp()

void SocketServer::setWebsocketIp ( const std::string & _ip)
inline

◆ setWebsocketPort()

void SocketServer::setWebsocketPort ( unsigned int _port)
inline

◆ startServer()

bool SocketServer::startServer ( void )

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