Pepper_31_C++_interfaces
Public Types | Public Member Functions | List of all members
pp::ext::socket::Socket_Dev Class Reference

#include <socket_dev.h>

Collaboration diagram for pp::ext::socket::Socket_Dev:
Collaboration graph

Public Types

typedef
ExtCompletionCallbackWithOutput
< CreateInfo_Dev
CreateCallback
 
typedef
ExtCompletionCallbackWithOutput
< int32_t
ConnectCallback
 
typedef
ExtCompletionCallbackWithOutput
< int32_t
BindCallback
 
typedef
ExtCompletionCallbackWithOutput
< ReadInfo_Dev
ReadCallback
 
typedef
ExtCompletionCallbackWithOutput
< WriteInfo_Dev
WriteCallback
 
typedef
ExtCompletionCallbackWithOutput
< RecvFromInfo_Dev
RecvFromCallback
 
typedef
ExtCompletionCallbackWithOutput
< WriteInfo_Dev
SendToCallback
 
typedef
ExtCompletionCallbackWithOutput
< int32_t
ListenCallback
 
typedef
ExtCompletionCallbackWithOutput
< AcceptInfo_Dev
AcceptCallback
 
typedef
ExtCompletionCallbackWithOutput
< bool
SetKeepAliveCallback
 
typedef
ExtCompletionCallbackWithOutput
< bool
SetNoDelayCallback
 
typedef
ExtCompletionCallbackWithOutput
< SocketInfo_Dev
GetInfoCallback
 
typedef
ExtCompletionCallbackWithOutput
< std::vector
< NetworkInterface_Dev > > 
GetNetworkListCallback
 
typedef
ExtCompletionCallbackWithOutput
< int32_t
JoinGroupCallback
 
typedef
ExtCompletionCallbackWithOutput
< int32_t
LeaveGroupCallback
 
typedef
ExtCompletionCallbackWithOutput
< int32_t
SetMulticastTimeToLiveCallback
 
typedef
ExtCompletionCallbackWithOutput
< int32_t
SetMulticastLoopbackModeCallback
 
typedef
ExtCompletionCallbackWithOutput
< std::vector< std::string > > 
GetJoinedGroupsCallback
 

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)
 

Detailed Description

Definition at line 176 of file socket_dev.h.

Member Typedef Documentation

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.

Definition at line 245 of file socket_dev.h.

Definition at line 278 of file socket_dev.h.

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.

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.

Definition at line 271 of file socket_dev.h.

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.

Constructor & Destructor Documentation

pp::ext::socket::Socket_Dev::Socket_Dev ( const InstanceHandle instance)
explicit
pp::ext::socket::Socket_Dev::~Socket_Dev ( )

Member Function Documentation

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 
)

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