Pepper_31_C++_interfaces
|
#include <socket_dev.h>
Public Member Functions | |
Socket_Dev (const InstanceHandle &instance) | |
~Socket_Dev () | |
int32_t | Create (const SocketType_Dev &type, const Optional< CreateOptions_Dev > &options, const CreateCallback &callback) |
void | Destroy (int32_t socket_id) |
int32_t | Connect (int32_t socket_id, const std::string &hostname, int32_t port, const ConnectCallback &callback) |
int32_t | Bind (int32_t socket_id, const std::string &address, int32_t port, const BindCallback &callback) |
void | Disconnect (int32_t socket_id) |
int32_t | Read (int32_t socket_id, const Optional< int32_t > &buffer_size, const ReadCallback &callback) |
int32_t | Write (int32_t socket_id, const VarArrayBuffer &data, const WriteCallback &callback) |
int32_t | RecvFrom (int32_t socket_id, const Optional< int32_t > &buffer_size, const RecvFromCallback &callback) |
int32_t | SendTo (int32_t socket_id, const VarArrayBuffer &data, const std::string &address, int32_t port, const SendToCallback &callback) |
int32_t | Listen (int32_t socket_id, const std::string &address, int32_t port, const Optional< int32_t > &backlog, const ListenCallback &callback) |
int32_t | Accept (int32_t socket_id, const AcceptCallback &callback) |
int32_t | SetKeepAlive (int32_t socket_id, bool enable, const Optional< int32_t > &delay, const SetKeepAliveCallback &callback) |
int32_t | SetNoDelay (int32_t socket_id, bool no_delay, const SetNoDelayCallback &callback) |
int32_t | GetInfo (int32_t socket_id, const GetInfoCallback &callback) |
int32_t | GetNetworkList (const GetNetworkListCallback &callback) |
int32_t | JoinGroup (int32_t socket_id, const std::string &address, const JoinGroupCallback &callback) |
int32_t | LeaveGroup (int32_t socket_id, const std::string &address, const LeaveGroupCallback &callback) |
int32_t | SetMulticastTimeToLive (int32_t socket_id, int32_t ttl, const SetMulticastTimeToLiveCallback &callback) |
int32_t | SetMulticastLoopbackMode (int32_t socket_id, bool enabled, const SetMulticastLoopbackModeCallback &callback) |
int32_t | GetJoinedGroups (int32_t socket_id, const GetJoinedGroupsCallback &callback) |
Definition at line 176 of file socket_dev.h.
Definition at line 231 of file socket_dev.h.
Definition at line 194 of file socket_dev.h.
Definition at line 188 of file socket_dev.h.
Definition at line 181 of file socket_dev.h.
typedef ExtCompletionCallbackWithOutput<SocketInfo_Dev> pp::ext::socket::Socket_Dev::GetInfoCallback |
Definition at line 245 of file socket_dev.h.
typedef ExtCompletionCallbackWithOutput<std::vector<std::string> > pp::ext::socket::Socket_Dev::GetJoinedGroupsCallback |
Definition at line 278 of file socket_dev.h.
typedef ExtCompletionCallbackWithOutput<std::vector<NetworkInterface_Dev> > pp::ext::socket::Socket_Dev::GetNetworkListCallback |
Definition at line 250 of file socket_dev.h.
Definition at line 253 of file socket_dev.h.
Definition at line 258 of file socket_dev.h.
Definition at line 224 of file socket_dev.h.
Definition at line 202 of file socket_dev.h.
typedef ExtCompletionCallbackWithOutput<RecvFromInfo_Dev> pp::ext::socket::Socket_Dev::RecvFromCallback |
Definition at line 212 of file socket_dev.h.
Definition at line 217 of file socket_dev.h.
Definition at line 234 of file socket_dev.h.
typedef ExtCompletionCallbackWithOutput<int32_t> pp::ext::socket::Socket_Dev::SetMulticastLoopbackModeCallback |
Definition at line 271 of file socket_dev.h.
typedef ExtCompletionCallbackWithOutput<int32_t> pp::ext::socket::Socket_Dev::SetMulticastTimeToLiveCallback |
Definition at line 264 of file socket_dev.h.
Definition at line 240 of file socket_dev.h.
Definition at line 207 of file socket_dev.h.
|
explicit |
pp::ext::socket::Socket_Dev::~Socket_Dev | ( | ) |
int32_t pp::ext::socket::Socket_Dev::Accept | ( | int32_t | socket_id, |
const AcceptCallback & | callback | ||
) |
int32_t pp::ext::socket::Socket_Dev::Bind | ( | int32_t | socket_id, |
const std::string & | address, | ||
int32_t | port, | ||
const BindCallback & | callback | ||
) |
int32_t pp::ext::socket::Socket_Dev::Connect | ( | int32_t | socket_id, |
const std::string & | hostname, | ||
int32_t | port, | ||
const ConnectCallback & | callback | ||
) |
int32_t pp::ext::socket::Socket_Dev::Create | ( | const SocketType_Dev & | type, |
const Optional< CreateOptions_Dev > & | options, | ||
const CreateCallback & | callback | ||
) |
void pp::ext::socket::Socket_Dev::Destroy | ( | int32_t | socket_id | ) |
void pp::ext::socket::Socket_Dev::Disconnect | ( | int32_t | socket_id | ) |
int32_t pp::ext::socket::Socket_Dev::GetInfo | ( | int32_t | socket_id, |
const GetInfoCallback & | callback | ||
) |
int32_t pp::ext::socket::Socket_Dev::GetJoinedGroups | ( | int32_t | socket_id, |
const GetJoinedGroupsCallback & | callback | ||
) |
int32_t pp::ext::socket::Socket_Dev::GetNetworkList | ( | const GetNetworkListCallback & | callback | ) |
int32_t pp::ext::socket::Socket_Dev::JoinGroup | ( | int32_t | socket_id, |
const std::string & | address, | ||
const JoinGroupCallback & | callback | ||
) |
int32_t pp::ext::socket::Socket_Dev::LeaveGroup | ( | int32_t | socket_id, |
const std::string & | address, | ||
const LeaveGroupCallback & | callback | ||
) |
int32_t pp::ext::socket::Socket_Dev::Listen | ( | int32_t | socket_id, |
const std::string & | address, | ||
int32_t | port, | ||
const Optional< int32_t > & | backlog, | ||
const ListenCallback & | callback | ||
) |
int32_t pp::ext::socket::Socket_Dev::Read | ( | int32_t | socket_id, |
const Optional< int32_t > & | buffer_size, | ||
const ReadCallback & | callback | ||
) |
int32_t pp::ext::socket::Socket_Dev::RecvFrom | ( | int32_t | socket_id, |
const Optional< int32_t > & | buffer_size, | ||
const RecvFromCallback & | callback | ||
) |
int32_t pp::ext::socket::Socket_Dev::SendTo | ( | int32_t | socket_id, |
const VarArrayBuffer & | data, | ||
const std::string & | address, | ||
int32_t | port, | ||
const SendToCallback & | callback | ||
) |
int32_t pp::ext::socket::Socket_Dev::SetKeepAlive | ( | int32_t | socket_id, |
bool | enable, | ||
const Optional< int32_t > & | delay, | ||
const SetKeepAliveCallback & | callback | ||
) |
int32_t pp::ext::socket::Socket_Dev::SetMulticastLoopbackMode | ( | int32_t | socket_id, |
bool | enabled, | ||
const SetMulticastLoopbackModeCallback & | callback | ||
) |
int32_t pp::ext::socket::Socket_Dev::SetMulticastTimeToLive | ( | int32_t | socket_id, |
int32_t | ttl, | ||
const SetMulticastTimeToLiveCallback & | callback | ||
) |
int32_t pp::ext::socket::Socket_Dev::SetNoDelay | ( | int32_t | socket_id, |
bool | no_delay, | ||
const SetNoDelayCallback & | callback | ||
) |
int32_t pp::ext::socket::Socket_Dev::Write | ( | int32_t | socket_id, |
const VarArrayBuffer & | data, | ||
const WriteCallback & | callback | ||
) |