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

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.
 
 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: