Public Member Functions | Static Public Member Functions | List of all members
pp::UDPSocketPrivate Class Reference

#include <udp_socket_private.h>

Inheritance diagram for pp::UDPSocketPrivate:
Inheritance graph
Collaboration diagram for pp::UDPSocketPrivate:
Collaboration graph

Public Member Functions

 UDPSocketPrivate (const InstanceHandle &instance)
int32_t SetSocketFeature (PP_UDPSocketFeature_Private name, const Var &value)
int32_t Bind (const PP_NetAddress_Private *addr, const CompletionCallback &callback)
bool GetBoundAddress (PP_NetAddress_Private *addr)
int32_t RecvFrom (char *buffer, int32_t num_bytes, const CompletionCallback &callback)
bool GetRecvFromAddress (PP_NetAddress_Private *addr)
int32_t SendTo (const char *buffer, int32_t num_bytes, const PP_NetAddress_Private *addr, const CompletionCallback &callback)
void Close ()
- 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 18 of file udp_socket_private.h.

Constructor & Destructor Documentation

pp::UDPSocketPrivate::UDPSocketPrivate ( const InstanceHandle instance)

Member Function Documentation

int32_t pp::UDPSocketPrivate::Bind ( const PP_NetAddress_Private *  addr,
const CompletionCallback callback 
void pp::UDPSocketPrivate::Close ( )
bool pp::UDPSocketPrivate::GetBoundAddress ( PP_NetAddress_Private *  addr)
bool pp::UDPSocketPrivate::GetRecvFromAddress ( PP_NetAddress_Private *  addr)
static bool pp::UDPSocketPrivate::IsAvailable ( )
int32_t pp::UDPSocketPrivate::RecvFrom ( char *  buffer,
int32_t  num_bytes,
const CompletionCallback callback 
int32_t pp::UDPSocketPrivate::SendTo ( const char *  buffer,
int32_t  num_bytes,
const PP_NetAddress_Private *  addr,
const CompletionCallback callback 
int32_t pp::UDPSocketPrivate::SetSocketFeature ( PP_UDPSocketFeature_Private  name,
const Var value 

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