Pepper_31_C++_interfaces
Public Member Functions | Static Public Member Functions | List of all members
pp::TCPSocketPrivate Class Reference

#include <tcp_socket_private.h>

Inheritance diagram for pp::TCPSocketPrivate:
Inheritance graph
Collaboration diagram for pp::TCPSocketPrivate:
Collaboration graph

Public Member Functions

 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)
 
- Public Member Functions inherited from pp::Resource
 Resource ()
 The default constructor. More...
 
 Resource (const Resource &other)
 
virtual ~Resource ()
 Destructor. More...
 
Resourceoperator= (const Resource &other)
 
bool is_null () const
 
PP_Resource pp_resource () const
 
PP_Resource detach ()
 

Static Public Member Functions

static bool IsAvailable ()
 

Additional Inherited Members

- Protected Member Functions inherited from pp::Resource
 Resource (PP_Resource resource)
 
 Resource (PassRef, PP_Resource resource)
 
void PassRefFromConstructor (PP_Resource resource)
 

Detailed Description

Definition at line 19 of file tcp_socket_private.h.

Constructor & Destructor Documentation

pp::TCPSocketPrivate::TCPSocketPrivate ( const InstanceHandle instance)
explicit
pp::TCPSocketPrivate::TCPSocketPrivate ( PassRef  ,
PP_Resource  resource 
)

Member Function Documentation

bool pp::TCPSocketPrivate::AddChainBuildingCertificate ( const X509CertificatePrivate cert,
bool  trusted 
)
int32_t pp::TCPSocketPrivate::Connect ( const char *  host,
uint16_t  port,
const CompletionCallback callback 
)
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)
X509CertificatePrivate pp::TCPSocketPrivate::GetServerCertificate ( )
static bool pp::TCPSocketPrivate::IsAvailable ( )
static
int32_t pp::TCPSocketPrivate::Read ( char *  buffer,
int32_t  bytes_to_read,
const CompletionCallback callback 
)
int32_t pp::TCPSocketPrivate::SetOption ( PP_TCPSocketOption_Private  name,
const Var value,
const CompletionCallback callback 
)
int32_t pp::TCPSocketPrivate::SSLHandshake ( const char *  server_name,
uint16_t  server_port,
const CompletionCallback callback 
)
int32_t pp::TCPSocketPrivate::Write ( const char *  buffer,
int32_t  bytes_to_write,
const CompletionCallback callback 
)

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