webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Friends | List of all members
webrtc::test::UdpSocketPosix Class Reference

#include <udp_socket_posix.h>

Inheritance diagram for webrtc::test::UdpSocketPosix:
webrtc::test::UdpSocketWrapper webrtc::test::UdpSocketWrapper

Public Member Functions

 UdpSocketPosix (const int32_t id, UdpSocketManager *mgr, bool ipV6Enable=false)
 
virtual ~UdpSocketPosix ()
 
bool SetCallback (CallbackObj obj, IncomingSocketCallback cb) override
 
bool Bind (const SocketAddress &name) override
 
bool SetSockopt (int32_t level, int32_t optname, const int8_t *optval, int32_t optlen) override
 
int32_t SetTOS (const int32_t serviceType) override
 
int32_t SendTo (const int8_t *buf, size_t len, const SocketAddress &to) override
 
void CloseBlocking () override
 
SOCKET GetFd ()
 
bool ValidHandle () override
 
bool SetQos (int32_t, int32_t, int32_t, int32_t, int32_t, int32_t, const SocketAddress &, int32_t) override
 
bool CleanUp ()
 
void HasIncoming ()
 
bool WantsIncoming ()
 
void ReadyForDeletion ()
 
 UdpSocketPosix (const int32_t id, UdpSocketManager *mgr, bool ipV6Enable=false)
 
virtual ~UdpSocketPosix ()
 
bool SetCallback (CallbackObj obj, IncomingSocketCallback cb) override
 
bool Bind (const SocketAddress &name) override
 
bool SetSockopt (int32_t level, int32_t optname, const int8_t *optval, int32_t optlen) override
 
int32_t SetTOS (const int32_t serviceType) override
 
int32_t SendTo (const int8_t *buf, size_t len, const SocketAddress &to) override
 
void CloseBlocking () override
 
SOCKET GetFd ()
 
bool ValidHandle () override
 
bool SetQos (int32_t, int32_t, int32_t, int32_t, int32_t, int32_t, const SocketAddress &, int32_t) override
 
bool CleanUp ()
 
void HasIncoming ()
 
bool WantsIncoming ()
 
void ReadyForDeletion ()
 
- Public Member Functions inherited from webrtc::test::UdpSocketWrapper
virtual bool StartReceiving ()
 
virtual bool StartReceiving (const uint32_t)
 
virtual bool StopReceiving ()
 
virtual int32_t SetPCP (const int32_t)
 
virtual void SetEventToNull ()
 
virtual uint32_t ReceiveBuffers ()
 
virtual bool StartReceiving ()
 
virtual bool StartReceiving (const uint32_t)
 
virtual bool StopReceiving ()
 
virtual int32_t SetPCP (const int32_t)
 
virtual void SetEventToNull ()
 
virtual uint32_t ReceiveBuffers ()
 

Friends

class UdpSocketManagerPosix
 

Additional Inherited Members

- Static Public Member Functions inherited from webrtc::test::UdpSocketWrapper
static UdpSocketWrapperCreateSocket (const int32_t id, UdpSocketManager *mgr, CallbackObj obj, IncomingSocketCallback cb, bool ipV6Enable=false, bool disableGQOS=false)
 
static UdpSocketWrapperCreateSocket (const int32_t id, UdpSocketManager *mgr, CallbackObj obj, IncomingSocketCallback cb, bool ipV6Enable=false, bool disableGQOS=false)
 
- Protected Member Functions inherited from webrtc::test::UdpSocketWrapper
 UdpSocketWrapper ()
 
virtual ~UdpSocketWrapper ()
 
 UdpSocketWrapper ()
 
virtual ~UdpSocketWrapper ()
 
- Protected Attributes inherited from webrtc::test::UdpSocketWrapper
bool _wantsIncoming
 
EventWrapper_deleteEvent
 

Constructor & Destructor Documentation

◆ UdpSocketPosix() [1/2]

webrtc::test::UdpSocketPosix::UdpSocketPosix ( const int32_t  id,
UdpSocketManager mgr,
bool  ipV6Enable = false 
)

◆ ~UdpSocketPosix() [1/2]

webrtc::test::UdpSocketPosix::~UdpSocketPosix ( )
virtual

◆ UdpSocketPosix() [2/2]

webrtc::test::UdpSocketPosix::UdpSocketPosix ( const int32_t  id,
UdpSocketManager mgr,
bool  ipV6Enable = false 
)

◆ ~UdpSocketPosix() [2/2]

virtual webrtc::test::UdpSocketPosix::~UdpSocketPosix ( )
virtual

Member Function Documentation

◆ Bind() [1/2]

bool webrtc::test::UdpSocketPosix::Bind ( const SocketAddress name)
overridevirtual

◆ Bind() [2/2]

bool webrtc::test::UdpSocketPosix::Bind ( const SocketAddress name)
overridevirtual

◆ CleanUp() [1/2]

bool webrtc::test::UdpSocketPosix::CleanUp ( )

◆ CleanUp() [2/2]

bool webrtc::test::UdpSocketPosix::CleanUp ( )

◆ CloseBlocking() [1/2]

void webrtc::test::UdpSocketPosix::CloseBlocking ( )
overridevirtual

Reimplemented from webrtc::test::UdpSocketWrapper.

◆ CloseBlocking() [2/2]

void webrtc::test::UdpSocketPosix::CloseBlocking ( )
overridevirtual

Reimplemented from webrtc::test::UdpSocketWrapper.

◆ GetFd() [1/2]

SOCKET webrtc::test::UdpSocketPosix::GetFd ( )

◆ GetFd() [2/2]

SOCKET webrtc::test::UdpSocketPosix::GetFd ( )

◆ HasIncoming() [1/2]

void webrtc::test::UdpSocketPosix::HasIncoming ( )

◆ HasIncoming() [2/2]

void webrtc::test::UdpSocketPosix::HasIncoming ( )

◆ ReadyForDeletion() [1/2]

void webrtc::test::UdpSocketPosix::ReadyForDeletion ( )

◆ ReadyForDeletion() [2/2]

void webrtc::test::UdpSocketPosix::ReadyForDeletion ( )

◆ SendTo() [1/2]

int32_t webrtc::test::UdpSocketPosix::SendTo ( const int8_t buf,
size_t  len,
const SocketAddress to 
)
overridevirtual

◆ SendTo() [2/2]

int32_t webrtc::test::UdpSocketPosix::SendTo ( const int8_t buf,
size_t  len,
const SocketAddress to 
)
overridevirtual

◆ SetCallback() [1/2]

bool webrtc::test::UdpSocketPosix::SetCallback ( CallbackObj  obj,
IncomingSocketCallback  cb 
)
overridevirtual

◆ SetCallback() [2/2]

bool webrtc::test::UdpSocketPosix::SetCallback ( CallbackObj  obj,
IncomingSocketCallback  cb 
)
overridevirtual

◆ SetQos() [1/2]

bool webrtc::test::UdpSocketPosix::SetQos ( int32_t  ,
int32_t  ,
int32_t  ,
int32_t  ,
int32_t  ,
int32_t  ,
const SocketAddress ,
int32_t   
)
overridevirtual

◆ SetQos() [2/2]

bool webrtc::test::UdpSocketPosix::SetQos ( int32_t  ,
int32_t  ,
int32_t  ,
int32_t  ,
int32_t  ,
int32_t  ,
const SocketAddress ,
int32_t   
)
overridevirtual

◆ SetSockopt() [1/2]

bool webrtc::test::UdpSocketPosix::SetSockopt ( int32_t  level,
int32_t  optname,
const int8_t optval,
int32_t  optlen 
)
overridevirtual

◆ SetSockopt() [2/2]

bool webrtc::test::UdpSocketPosix::SetSockopt ( int32_t  level,
int32_t  optname,
const int8_t optval,
int32_t  optlen 
)
overridevirtual

◆ SetTOS() [1/2]

int32_t webrtc::test::UdpSocketPosix::SetTOS ( const int32_t  serviceType)
overridevirtual

◆ SetTOS() [2/2]

int32_t webrtc::test::UdpSocketPosix::SetTOS ( const int32_t  serviceType)
overridevirtual

◆ ValidHandle() [1/2]

bool webrtc::test::UdpSocketPosix::ValidHandle ( )
overridevirtual

◆ ValidHandle() [2/2]

bool webrtc::test::UdpSocketPosix::ValidHandle ( )
overridevirtual

◆ WantsIncoming() [1/2]

bool webrtc::test::UdpSocketPosix::WantsIncoming ( )

◆ WantsIncoming() [2/2]

bool webrtc::test::UdpSocketPosix::WantsIncoming ( )

Friends And Related Function Documentation

◆ UdpSocketManagerPosix


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