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

#include <udp_socket2_win.h>

Inheritance diagram for webrtc::test::UdpSocket2Windows:
webrtc::test::UdpSocketWrapper webrtc::test::UdpSocketWrapper

Public Member Functions

 UdpSocket2Windows (const int32_t id, UdpSocketManager *mgr, bool ipV6Enable=false, bool disableGQOS=false)
 
virtual ~UdpSocket2Windows ()
 
bool ValidHandle () override
 
bool SetCallback (CallbackObj, IncomingSocketCallback) override
 
bool Bind (const SocketAddress &name) override
 
bool SetSockopt (int32_t level, int32_t optname, const int8_t *optval, int32_t optlen) override
 
bool StartReceiving (const uint32_t receiveBuffers) override
 
bool StartReceiving () override
 
bool StopReceiving () override
 
int32_t SendTo (const int8_t *buf, size_t len, const SocketAddress &to) override
 
void CloseBlocking () override
 
SOCKET GetFd ()
 
bool SetQos (int32_t serviceType, int32_t tokenRate, int32_t bucketSize, int32_t peekBandwith, int32_t minPolicedSize, int32_t maxSduSize, const SocketAddress &stRemName, int32_t overrideDSCP=0) override
 
int32_t SetTOS (const int32_t serviceType) override
 
int32_t SetPCP (const int32_t pcp) override
 
uint32_t ReceiveBuffers () override
 
 UdpSocket2Windows (const int32_t id, UdpSocketManager *mgr, bool ipV6Enable=false, bool disableGQOS=false)
 
virtual ~UdpSocket2Windows ()
 
bool ValidHandle () override
 
bool SetCallback (CallbackObj, IncomingSocketCallback) override
 
bool Bind (const SocketAddress &name) override
 
bool SetSockopt (int32_t level, int32_t optname, const int8_t *optval, int32_t optlen) override
 
bool StartReceiving (const uint32_t receiveBuffers) override
 
bool StartReceiving () override
 
bool StopReceiving () override
 
int32_t SendTo (const int8_t *buf, size_t len, const SocketAddress &to) override
 
void CloseBlocking () override
 
SOCKET GetFd ()
 
bool SetQos (int32_t serviceType, int32_t tokenRate, int32_t bucketSize, int32_t peekBandwith, int32_t minPolicedSize, int32_t maxSduSize, const SocketAddress &stRemName, int32_t overrideDSCP=0) override
 
int32_t SetTOS (const int32_t serviceType) override
 
int32_t SetPCP (const int32_t pcp) override
 
uint32_t ReceiveBuffers () override
 
- Public Member Functions inherited from webrtc::test::UdpSocketWrapper
virtual void SetEventToNull ()
 
virtual void SetEventToNull ()
 

Protected Member Functions

void IOCompleted (PerIoContext *pIOContext, uint32_t ioSize, uint32_t error)
 
int32_t PostRecv ()
 
int32_t PostRecv (PerIoContext *pIoContext)
 
void IOCompleted (PerIoContext *pIOContext, uint32_t ioSize, uint32_t error)
 
int32_t PostRecv ()
 
int32_t PostRecv (PerIoContext *pIoContext)
 
- Protected Member Functions inherited from webrtc::test::UdpSocketWrapper
 UdpSocketWrapper ()
 
virtual ~UdpSocketWrapper ()
 
 UdpSocketWrapper ()
 
virtual ~UdpSocketWrapper ()
 

Friends

class UdpSocket2WorkerWindows
 

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 Attributes inherited from webrtc::test::UdpSocketWrapper
bool _wantsIncoming
 
EventWrapper_deleteEvent
 

Constructor & Destructor Documentation

◆ UdpSocket2Windows() [1/2]

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

◆ ~UdpSocket2Windows() [1/2]

webrtc::test::UdpSocket2Windows::~UdpSocket2Windows ( )
virtual

◆ UdpSocket2Windows() [2/2]

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

◆ ~UdpSocket2Windows() [2/2]

virtual webrtc::test::UdpSocket2Windows::~UdpSocket2Windows ( )
virtual

Member Function Documentation

◆ Bind() [1/2]

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

◆ Bind() [2/2]

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

◆ CloseBlocking() [1/2]

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

Reimplemented from webrtc::test::UdpSocketWrapper.

◆ CloseBlocking() [2/2]

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

Reimplemented from webrtc::test::UdpSocketWrapper.

◆ GetFd() [1/2]

SOCKET webrtc::test::UdpSocket2Windows::GetFd ( )
inline

◆ GetFd() [2/2]

SOCKET webrtc::test::UdpSocket2Windows::GetFd ( )
inline

◆ IOCompleted() [1/2]

void webrtc::test::UdpSocket2Windows::IOCompleted ( PerIoContext pIOContext,
uint32_t  ioSize,
uint32_t  error 
)
protected

◆ IOCompleted() [2/2]

void webrtc::test::UdpSocket2Windows::IOCompleted ( PerIoContext pIOContext,
uint32_t  ioSize,
uint32_t  error 
)
protected

◆ PostRecv() [1/4]

int32_t webrtc::test::UdpSocket2Windows::PostRecv ( )
protected

◆ PostRecv() [2/4]

int32_t webrtc::test::UdpSocket2Windows::PostRecv ( )
protected

◆ PostRecv() [3/4]

int32_t webrtc::test::UdpSocket2Windows::PostRecv ( PerIoContext pIoContext)
protected

◆ PostRecv() [4/4]

int32_t webrtc::test::UdpSocket2Windows::PostRecv ( PerIoContext pIoContext)
protected

◆ ReceiveBuffers() [1/2]

uint32_t webrtc::test::UdpSocket2Windows::ReceiveBuffers ( )
inlineoverridevirtual

Reimplemented from webrtc::test::UdpSocketWrapper.

◆ ReceiveBuffers() [2/2]

uint32_t webrtc::test::UdpSocket2Windows::ReceiveBuffers ( )
inlineoverridevirtual

Reimplemented from webrtc::test::UdpSocketWrapper.

◆ SendTo() [1/2]

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

◆ SendTo() [2/2]

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

◆ SetCallback() [1/2]

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

◆ SetCallback() [2/2]

bool webrtc::test::UdpSocket2Windows::SetCallback ( CallbackObj  ,
IncomingSocketCallback   
)
overridevirtual

◆ SetPCP() [1/2]

int32_t webrtc::test::UdpSocket2Windows::SetPCP ( const int32_t  pcp)
overridevirtual

Reimplemented from webrtc::test::UdpSocketWrapper.

◆ SetPCP() [2/2]

int32_t webrtc::test::UdpSocket2Windows::SetPCP ( const int32_t  pcp)
overridevirtual

Reimplemented from webrtc::test::UdpSocketWrapper.

◆ SetQos() [1/2]

bool webrtc::test::UdpSocket2Windows::SetQos ( int32_t  serviceType,
int32_t  tokenRate,
int32_t  bucketSize,
int32_t  peekBandwith,
int32_t  minPolicedSize,
int32_t  maxSduSize,
const SocketAddress stRemName,
int32_t  overrideDSCP = 0 
)
overridevirtual

◆ SetQos() [2/2]

bool webrtc::test::UdpSocket2Windows::SetQos ( int32_t  serviceType,
int32_t  tokenRate,
int32_t  bucketSize,
int32_t  peekBandwith,
int32_t  minPolicedSize,
int32_t  maxSduSize,
const SocketAddress stRemName,
int32_t  overrideDSCP = 0 
)
overridevirtual

◆ SetSockopt() [1/2]

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

◆ SetSockopt() [2/2]

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

◆ SetTOS() [1/2]

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

◆ SetTOS() [2/2]

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

◆ StartReceiving() [1/4]

bool webrtc::test::UdpSocket2Windows::StartReceiving ( const uint32_t  receiveBuffers)
overridevirtual

Reimplemented from webrtc::test::UdpSocketWrapper.

◆ StartReceiving() [2/4]

bool webrtc::test::UdpSocket2Windows::StartReceiving ( const uint32_t  receiveBuffers)
overridevirtual

Reimplemented from webrtc::test::UdpSocketWrapper.

◆ StartReceiving() [3/4]

bool webrtc::test::UdpSocket2Windows::StartReceiving ( )
inlineoverridevirtual

Reimplemented from webrtc::test::UdpSocketWrapper.

◆ StartReceiving() [4/4]

bool webrtc::test::UdpSocket2Windows::StartReceiving ( )
inlineoverridevirtual

Reimplemented from webrtc::test::UdpSocketWrapper.

◆ StopReceiving() [1/2]

bool webrtc::test::UdpSocket2Windows::StopReceiving ( )
overridevirtual

Reimplemented from webrtc::test::UdpSocketWrapper.

◆ StopReceiving() [2/2]

bool webrtc::test::UdpSocket2Windows::StopReceiving ( )
overridevirtual

Reimplemented from webrtc::test::UdpSocketWrapper.

◆ ValidHandle() [1/2]

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

◆ ValidHandle() [2/2]

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

Friends And Related Function Documentation

◆ UdpSocket2WorkerWindows


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