OpenZWave Library  1.6.1910
Classes | Enumerations | Functions
OpenZWave::Internal::Platform Namespace Reference


class  Controller
 Represents a USB ControllerController is derived from Stream rather than containing one, so that we can use its Wait abilities without having to duplicate them here. The stream is used for input. Buffering of output is handled by the OS. More...
class  DNS
 Implements platform-independent DNS lookup Operations. More...
class  Event
 Platform-independent definition of event objects. More...
class  FileOps
 Implements platform-independent File Operations. More...
class  HttpSocket
 a Socket that speaks HTTP protocol.Talk to a HTTP(s) server More...
class  Mutex
 Implements a platform-independent mutex–for serializing access to a shared resource. More...
class  POST
 This class is used for Posting data to a HTTP(s) serverPost some data to a HTTP(s) server. More...
class  Ref
struct  Request
 Main class for making a HTTP request to a HTTP(s) serverMake a request to a HTTP Server. More...
class  SerialController
 Interface for controllers that implement a Serial Interface (USB Serial Port Emulation) More...
class  SocketSet
 Support Multiple TCP Socket connectionsto Support multiple TCP Socket Connections. More...
class  Stream
 Platform-independent definition of a circular buffer. More...
class  TcpSocket
 a TCP Socket that can optionally be protected via SSLThis represents a TCP Socket that can be encrypted via SSL and is used to connect to a TCP Server (in this case, a HTTP(s) Server More...
class  Thread
 Implements a platform-independent thread management class. More...
class  TimeStamp
 Implements a platform-independent TimeStamp. More...
class  Wait
 Platform-independent definition of Wait objects. More...


enum  DNSError { DNSError_None = 0, DNSError_NotFound, DNSError_DomainError, DNSError_InternalError }
 Return codes for DNS lookups. More...
enum  SSLResult {
  SSLR_OK = 0x0, SSLR_NO_SSL = 0x1, SSLR_FAIL = 0x2, SSLR_CERT_EXPIRED = 0x4,
 Result Codes for SSL operations. More...
enum  HttpCode { HTTP_OK = 200, HTTP_NOTFOUND = 404 }


bool HasSSL ()
 Indicates if we support HTTPS requestsIndicates if we support HTTPS requests. More...
int _GetError ()
std::string _GetErrorStr (int e)
bool InitNetwork ()
 Initialize the Network for HTTP requestsInitializes the Network for HTTP requests. More...
void StopNetwork ()
 Stop the Network for HTTP requestsStops the Network for HTTP requests and releases resources associated with it. More...
bool SplitURI (const std::string &uri, std::string &protocol, std::string &host, std::string &file, int &port, bool &useSSL)
void URLEncode (const std::string &s, std::string &enc)
 Encode a String suitable for sending as a URL request (eg Get)Encode a String so it can be sent as part of a URL request. More...
bool SplitURI (const std::string &uri, std::string &host, std::string &file, int &port)
 Split a URL into its different parts/ports etcSplit a URL Into the different parts/ports. More...
void WaitMultipleCallback (void *_context)

Enumeration Type Documentation

◆ HttpCode


Function Documentation

◆ _GetError()

int OpenZWave::Internal::Platform::_GetError ( )

◆ _GetErrorStr()

std::string OpenZWave::Internal::Platform::_GetErrorStr ( int  e)

◆ SplitURI()

bool OpenZWave::Internal::Platform::SplitURI ( const std::string &  uri,
std::string &  protocol,
std::string &  host,
std::string &  file,
int &  port,
bool &  useSSL 

◆ WaitMultipleCallback()

void OpenZWave::Internal::Platform::WaitMultipleCallback ( void *  _context)