webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Friends | List of all members
webrtc::test::UdpSocketManager Class Referenceabstract

#include <udp_socket_manager_wrapper.h>

Inheritance diagram for webrtc::test::UdpSocketManager:
webrtc::test::MockSocketManager webrtc::test::MockUdpSocketManager webrtc::test::UdpSocket2ManagerWindows webrtc::test::UdpSocket2ManagerWindows webrtc::test::UdpSocketManagerPosix webrtc::test::UdpSocketManagerPosix

Public Member Functions

virtual bool Init (int32_t id, uint8_t &numOfWorkThreads)=0
 
virtual bool Start ()=0
 
virtual bool Stop ()=0
 
virtual uint8_t WorkThreads () const
 
virtual bool AddSocket (UdpSocketWrapper *s)=0
 
virtual bool RemoveSocket (UdpSocketWrapper *s)=0
 
virtual bool Init (int32_t id, uint8_t &numOfWorkThreads)=0
 
virtual bool Start ()=0
 
virtual bool Stop ()=0
 
virtual uint8_t WorkThreads () const
 
virtual bool AddSocket (UdpSocketWrapper *s)=0
 
virtual bool RemoveSocket (UdpSocketWrapper *s)=0
 

Static Public Member Functions

static UdpSocketManagerCreate (const int32_t id, uint8_t &numOfWorkThreads)
 
static void Return ()
 
static UdpSocketManagerCreate (const int32_t id, uint8_t &numOfWorkThreads)
 
static void Return ()
 

Protected Member Functions

 UdpSocketManager ()
 
virtual ~UdpSocketManager ()
 
 UdpSocketManager ()
 
virtual ~UdpSocketManager ()
 

Static Protected Member Functions

static UdpSocketManagerCreateInstance ()
 
static UdpSocketManagerCreateInstance ()
 

Protected Attributes

uint8_t _numOfWorkThreads
 

Friends

UdpSocketManagerwebrtc::GetStaticInstance (CountOperation count_operation)
 
UdpSocketManagerwebrtc::GetStaticInstance (CountOperation count_operation)
 

Constructor & Destructor Documentation

◆ UdpSocketManager() [1/2]

webrtc::test::UdpSocketManager::UdpSocketManager ( )
protected

◆ ~UdpSocketManager() [1/2]

virtual webrtc::test::UdpSocketManager::~UdpSocketManager ( )
inlineprotectedvirtual

◆ UdpSocketManager() [2/2]

webrtc::test::UdpSocketManager::UdpSocketManager ( )
protected

◆ ~UdpSocketManager() [2/2]

virtual webrtc::test::UdpSocketManager::~UdpSocketManager ( )
inlineprotectedvirtual

Member Function Documentation

◆ AddSocket() [1/2]

virtual bool webrtc::test::UdpSocketManager::AddSocket ( UdpSocketWrapper s)
pure virtual

◆ AddSocket() [2/2]

virtual bool webrtc::test::UdpSocketManager::AddSocket ( UdpSocketWrapper s)
pure virtual

◆ Create() [1/2]

static UdpSocketManager* webrtc::test::UdpSocketManager::Create ( const int32_t  id,
uint8_t numOfWorkThreads 
)
static

◆ Create() [2/2]

UdpSocketManager * webrtc::test::UdpSocketManager::Create ( const int32_t  id,
uint8_t numOfWorkThreads 
)
static

◆ CreateInstance() [1/2]

static UdpSocketManager* webrtc::test::UdpSocketManager::CreateInstance ( )
staticprotected

◆ CreateInstance() [2/2]

UdpSocketManager * webrtc::test::UdpSocketManager::CreateInstance ( )
staticprotected

◆ Init() [1/2]

virtual bool webrtc::test::UdpSocketManager::Init ( int32_t  id,
uint8_t numOfWorkThreads 
)
pure virtual

◆ Init() [2/2]

virtual bool webrtc::test::UdpSocketManager::Init ( int32_t  id,
uint8_t numOfWorkThreads 
)
pure virtual

◆ RemoveSocket() [1/2]

virtual bool webrtc::test::UdpSocketManager::RemoveSocket ( UdpSocketWrapper s)
pure virtual

◆ RemoveSocket() [2/2]

virtual bool webrtc::test::UdpSocketManager::RemoveSocket ( UdpSocketWrapper s)
pure virtual

◆ Return() [1/2]

void webrtc::test::UdpSocketManager::Return ( )
static

◆ Return() [2/2]

static void webrtc::test::UdpSocketManager::Return ( )
static

◆ Start() [1/2]

virtual bool webrtc::test::UdpSocketManager::Start ( )
pure virtual

◆ Start() [2/2]

virtual bool webrtc::test::UdpSocketManager::Start ( )
pure virtual

◆ Stop() [1/2]

virtual bool webrtc::test::UdpSocketManager::Stop ( )
pure virtual

◆ Stop() [2/2]

virtual bool webrtc::test::UdpSocketManager::Stop ( )
pure virtual

◆ WorkThreads() [1/2]

uint8_t webrtc::test::UdpSocketManager::WorkThreads ( ) const
virtual

◆ WorkThreads() [2/2]

virtual uint8_t webrtc::test::UdpSocketManager::WorkThreads ( ) const
virtual

Friends And Related Function Documentation

◆ webrtc::GetStaticInstance [1/2]

UdpSocketManager* webrtc::GetStaticInstance ( CountOperation  count_operation)
friend

◆ webrtc::GetStaticInstance [2/2]

UdpSocketManager* webrtc::GetStaticInstance ( CountOperation  count_operation)
friend

Member Data Documentation

◆ _numOfWorkThreads

uint8_t webrtc::test::UdpSocketManager::_numOfWorkThreads
protected

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