Bela
Real-time, ultra-low-latency audio and sensor processing system for BeagleBone Black
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Classes | Public Member Functions | Friends | List of all members
WSServer Class Reference

Public Member Functions

 WSServer (int _port)
 
void setup (int port)
 
void addAddress (std::string address, std::function< void(std::string, void *, int)> on_receive=nullptr, std::function< void(std::string)> on_connect=nullptr, std::function< void(std::string)> on_disconnect=nullptr, bool binary=false)
 
int sendNonRt (const char *address, const char *str)
 
int sendNonRt (const char *address, const void *buf, unsigned int size)
 
int sendRt (const char *address, const char *str)
 
int sendRt (const char *address, const void *buf, unsigned int size)
 

Friends

struct WSServerDataHandler
 

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