![]() |
OpenZWave Library 1.6.0
|
a TCP Socket that can optionally be protected via SSL More...
#include <HttpClient.h>
Inheritance diagram for OpenZWave::SimpleHTTPClient::TcpSocket:Public Member Functions | |
| TcpSocket () | |
| virtual | ~TcpSocket () |
| virtual bool | HasPendingTask () const |
| bool | open (const char *addr=NULL, unsigned int port=0) |
| void | close () |
| bool | update () |
| bool | isOpen (void) |
| void | SetBufsizeIn (unsigned int s) |
| bool | SetNonBlocking (bool nonblock) |
| unsigned int | GetBufSize () |
| const char * | GetHost (void) |
| bool | SendBytes (const void *buf, unsigned int len) |
| bool | initSSL (const char *certs) |
| bool | hasSSL () const |
| void | shutdownSSL () |
| SSLResult | verifySSL () |
Protected Member Functions | |
| virtual void | _OnCloseInternal () |
| virtual void | _OnData () |
| virtual void | _OnRecv (void *buf, unsigned int size)=0 |
| virtual void | _OnClose () |
| virtual void | _OnOpen () |
| virtual bool | _OnUpdate () |
| void | _ShiftBuffer () |
Protected Attributes | |
| char * | _inbuf |
| char * | _readptr |
| char * | _writeptr |
| unsigned int | _inbufSize |
| unsigned int | _writeSize |
| unsigned int | _recvSize |
| unsigned int | _lastport |
| bool | _nonblocking |
| long | _s |
| std::string | _host |
a TCP Socket that can optionally be protected via SSL
This 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
| OpenZWave::SimpleHTTPClient::TcpSocket::TcpSocket | ( | ) |
|
virtual |
|
inlineprotectedvirtual |
Reimplemented in OpenZWave::SimpleHTTPClient::HttpSocket.
|
protectedvirtual |
Reimplemented in OpenZWave::SimpleHTTPClient::HttpSocket.
|
protectedvirtual |
Reimplemented in OpenZWave::SimpleHTTPClient::HttpSocket.
|
inlineprotectedvirtual |
Reimplemented in OpenZWave::SimpleHTTPClient::HttpSocket.
|
protectedpure virtual |
Implemented in OpenZWave::SimpleHTTPClient::HttpSocket.
|
inlineprotectedvirtual |
Reimplemented in OpenZWave::SimpleHTTPClient::HttpSocket.
|
protected |
| void OpenZWave::SimpleHTTPClient::TcpSocket::close | ( | ) |
|
inline |
|
inline |
|
inlinevirtual |
Reimplemented in OpenZWave::SimpleHTTPClient::HttpSocket.
|
inline |
| bool OpenZWave::SimpleHTTPClient::TcpSocket::initSSL | ( | const char * | certs | ) |
| bool OpenZWave::SimpleHTTPClient::TcpSocket::isOpen | ( | void | ) |
| bool OpenZWave::SimpleHTTPClient::TcpSocket::open | ( | const char * | addr = NULL, |
| unsigned int | port = 0 ) |
| bool OpenZWave::SimpleHTTPClient::TcpSocket::SendBytes | ( | const void * | buf, |
| unsigned int | len ) |
| void OpenZWave::SimpleHTTPClient::TcpSocket::SetBufsizeIn | ( | unsigned int | s | ) |
| bool OpenZWave::SimpleHTTPClient::TcpSocket::SetNonBlocking | ( | bool | nonblock | ) |
| void OpenZWave::SimpleHTTPClient::TcpSocket::shutdownSSL | ( | ) |
| bool OpenZWave::SimpleHTTPClient::TcpSocket::update | ( | ) |
| SSLResult OpenZWave::SimpleHTTPClient::TcpSocket::verifySSL | ( | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |