Pepper_56_C++_interfaces
Pepper_56_C++_interfaces
 All Classes Namespaces Files Functions Typedefs Enumerations Macros Groups
pp::TCPSocketPrivate Class Reference
Inheritance diagram for pp::TCPSocketPrivate:
pp::Resource

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.
 
 Resource (const Resource &other)
 
virtual ~Resource ()
 Destructor.
 
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)
 
void Clear ()
 Sets this resource to null. This releases ownership of the resource.
 

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