Instrument Neutral Distributed Interface INDI  2.0.2
Public Member Functions | List of all members
INDIWSServer Class Reference

#include <indiwsserver.h>

Public Member Functions

 INDIWSServer ()
 
uint16_t generatePort ()
 
void on_open (connection_hdl hdl)
 
void on_close (connection_hdl hdl)
 
void send_binary (void const *payload, size_t len)
 
void send_text (const std::string &payload)
 
void stop ()
 
bool is_running ()
 
void run ()
 

Detailed Description

Definition at line 46 of file indiwsserver.h.

Constructor & Destructor Documentation

◆ INDIWSServer()

INDIWSServer::INDIWSServer ( )
inline

Definition at line 49 of file indiwsserver.h.

Member Function Documentation

◆ generatePort()

uint16_t INDIWSServer::generatePort ( )
inline

Definition at line 51 of file indiwsserver.h.

◆ is_running()

bool INDIWSServer::is_running ( )
inline

Definition at line 125 of file indiwsserver.h.

◆ on_close()

void INDIWSServer::on_close ( connection_hdl  hdl)
inline

Definition at line 63 of file indiwsserver.h.

◆ on_open()

void INDIWSServer::on_open ( connection_hdl  hdl)
inline

Definition at line 58 of file indiwsserver.h.

◆ run()

void INDIWSServer::run ( )
inline

Definition at line 130 of file indiwsserver.h.

◆ send_binary()

void INDIWSServer::send_binary ( void const *  payload,
size_t  len 
)
inline

Definition at line 76 of file indiwsserver.h.

◆ send_text()

void INDIWSServer::send_text ( const std::string &  payload)
inline

Definition at line 96 of file indiwsserver.h.

◆ stop()

void INDIWSServer::stop ( )
inline

Definition at line 116 of file indiwsserver.h.


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