Pepper_56_C++_interfaces
Pepper_56_C++_interfaces
 All Classes Namespaces Files Functions Typedefs Enumerations Macros Groups
udp_socket_extension_samsung.h
Go to the documentation of this file.
1 // Copyright (c) 2016 Samsung Electronics. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef PPAPI_CPP_SAMSUNG_SOCKET_EXTENSION_SAMSUNG_H_
6 #define PPAPI_CPP_SAMSUNG_SOCKET_EXTENSION_SAMSUNG_H_
7 
8 #include "ppapi/c/samsung/ppb_udp_socket_extension_samsung.h"
9 #include "ppapi/cpp/udp_socket.h"
10 
19 namespace pp {
20 
22  public:
25 
32  explicit UDPSocketExtensionSamsung(const InstanceHandle& instance);
33 
48  int32_t GetOption(PP_UDPSocket_Option name,
49  const CompletionCallbackWithOutput<Var>& callback);
50 
65  int32_t JoinMulticast(const struct PP_MulticastMembership& membership,
66  const CompletionCallback& callback);
67 
83  int32_t LeaveMulticast(const struct PP_MulticastMembership& membership,
84  const CompletionCallback& callback);
85 };
86 
87 } // namespace pp
88 
89 #endif // PPAPI_CPP_SAMSUNG_SOCKET_EXTENSION_SAMSUNG_H_
90 
UDPSocketExtensionSamsung()
Constructs an is_null() gesture input event object.
int32_t JoinMulticast(const struct PP_MulticastMembership &membership, const CompletionCallback &callback)
Definition: completion_callback.h:189
Definition: udp_socket_extension_samsung.h:21
Definition: completion_callback.h:26
Definition: instance_handle.h:44
Definition: udp_socket.h:30
int32_t LeaveMulticast(const struct PP_MulticastMembership &membership, const CompletionCallback &callback)
int32_t GetOption(PP_UDPSocket_Option name, const CompletionCallbackWithOutput< Var > &callback)