#include <tcp_socket_private.h>
|
| TCPSocketPrivate (const InstanceHandle &instance) |
|
| TCPSocketPrivate (PassRef, PP_Resource resource) |
|
int32_t | Connect (const char *host, uint16_t port, const CompletionCallback &callback) |
|
int32_t | ConnectWithNetAddress (const PP_NetAddress_Private *addr, const CompletionCallback &callback) |
|
bool | GetLocalAddress (PP_NetAddress_Private *local_addr) |
|
bool | GetRemoteAddress (PP_NetAddress_Private *remote_addr) |
|
int32_t | SSLHandshake (const char *server_name, uint16_t server_port, const CompletionCallback &callback) |
|
X509CertificatePrivate | GetServerCertificate () |
|
bool | AddChainBuildingCertificate (const X509CertificatePrivate &cert, bool trusted) |
|
int32_t | Read (char *buffer, int32_t bytes_to_read, const CompletionCallback &callback) |
|
int32_t | Write (const char *buffer, int32_t bytes_to_write, const CompletionCallback &callback) |
|
void | Disconnect () |
|
int32_t | SetOption (PP_TCPSocketOption_Private name, const Var &value, const CompletionCallback &callback) |
|
| Resource () |
| The default constructor. More...
|
|
| Resource (const Resource &other) |
|
virtual | ~Resource () |
| Destructor. More...
|
|
Resource & | operator= (const Resource &other) |
|
bool | is_null () const |
|
PP_Resource | pp_resource () const |
|
PP_Resource | detach () |
|
Definition at line 19 of file tcp_socket_private.h.
pp::TCPSocketPrivate::TCPSocketPrivate |
( |
const InstanceHandle & |
instance | ) |
|
|
explicit |
int32_t pp::TCPSocketPrivate::ConnectWithNetAddress |
( |
const PP_NetAddress_Private * |
addr, |
|
|
const CompletionCallback & |
callback |
|
) |
| |
void pp::TCPSocketPrivate::Disconnect |
( |
| ) |
|
bool pp::TCPSocketPrivate::GetLocalAddress |
( |
PP_NetAddress_Private * |
local_addr | ) |
|
bool pp::TCPSocketPrivate::GetRemoteAddress |
( |
PP_NetAddress_Private * |
remote_addr | ) |
|
static bool pp::TCPSocketPrivate::IsAvailable |
( |
| ) |
|
|
static |
int32_t pp::TCPSocketPrivate::SSLHandshake |
( |
const char * |
server_name, |
|
|
uint16_t |
server_port, |
|
|
const CompletionCallback & |
callback |
|
) |
| |
The documentation for this class was generated from the following file: