webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Public Member Functions | Protected Member Functions | Static Protected Member Functions | List of all members
StunPortTestBase Class Reference
Inheritance diagram for StunPortTestBase:
testing::Test sigslot::has_slots<> sigslot::has_slots_interface sigslot::has_slots_interface StunPortTest StunPortTestWithRealClock

Public Member Functions

 StunPortTestBase ()
 
cricket::UDPPortport () const
 
bool done () const
 
bool error () const
 
void SetNetworkType (rtc::AdapterType adapter_type)
 
void CreateStunPort (const rtc::SocketAddress &server_addr)
 
void CreateStunPort (const ServerAddresses &stun_servers)
 
void CreateSharedUdpPort (const rtc::SocketAddress &server_addr)
 
void PrepareAddress ()
 
void OnReadPacket (rtc::AsyncPacketSocket *socket, const char *data, size_t size, const rtc::SocketAddress &remote_addr, const rtc::PacketTime &packet_time)
 
void SendData (const char *data, size_t len)
 
- Public Member Functions inherited from sigslot::has_slots<>
 has_slots ()
 
 has_slots ()
 
 ~has_slots ()
 
 ~has_slots ()
 
- Public Member Functions inherited from sigslot::has_slots_interface
void signal_connect (_signal_base_interface *sender)
 
void signal_disconnect (_signal_base_interface *sender)
 
void disconnect_all ()
 
void signal_connect (_signal_base_interface *sender)
 
void signal_disconnect (_signal_base_interface *sender)
 
void disconnect_all ()
 

Protected Member Functions

void OnPortComplete (cricket::Port *port)
 
void OnPortError (cricket::Port *port)
 
void SetKeepaliveDelay (int delay)
 
void SetKeepaliveLifetime (int lifetime)
 
cricket::TestStunServerstun_server_1 ()
 
cricket::TestStunServerstun_server_2 ()
 
- Protected Member Functions inherited from testing::Test
 Test ()
 
virtual void SetUp ()
 
virtual void TearDown ()
 
- Protected Member Functions inherited from sigslot::has_slots_interface
 has_slots_interface (signal_connect_t conn, signal_disconnect_t disc, disconnect_all_t disc_all)
 
virtual ~has_slots_interface ()
 
 has_slots_interface (signal_connect_t conn, signal_disconnect_t disc, disconnect_all_t disc_all)
 
virtual ~has_slots_interface ()
 

Static Protected Member Functions

static void SetUpTestCase ()
 

Constructor & Destructor Documentation

◆ StunPortTestBase()

StunPortTestBase::StunPortTestBase ( )
inline

Member Function Documentation

◆ CreateSharedUdpPort()

void StunPortTestBase::CreateSharedUdpPort ( const rtc::SocketAddress server_addr)
inline

◆ CreateStunPort() [1/2]

void StunPortTestBase::CreateStunPort ( const rtc::SocketAddress server_addr)
inline

◆ CreateStunPort() [2/2]

void StunPortTestBase::CreateStunPort ( const ServerAddresses &  stun_servers)
inline

◆ done()

bool StunPortTestBase::done ( ) const
inline

◆ error()

bool StunPortTestBase::error ( ) const
inline

◆ OnPortComplete()

void StunPortTestBase::OnPortComplete ( cricket::Port port)
inlineprotected

◆ OnPortError()

void StunPortTestBase::OnPortError ( cricket::Port port)
inlineprotected

◆ OnReadPacket()

void StunPortTestBase::OnReadPacket ( rtc::AsyncPacketSocket socket,
const char *  data,
size_t  size,
const rtc::SocketAddress remote_addr,
const rtc::PacketTime packet_time 
)
inline

◆ port()

cricket::UDPPort* StunPortTestBase::port ( ) const
inline

◆ PrepareAddress()

void StunPortTestBase::PrepareAddress ( )
inline

◆ SendData()

void StunPortTestBase::SendData ( const char *  data,
size_t  len 
)
inline

◆ SetKeepaliveDelay()

void StunPortTestBase::SetKeepaliveDelay ( int  delay)
inlineprotected

◆ SetKeepaliveLifetime()

void StunPortTestBase::SetKeepaliveLifetime ( int  lifetime)
inlineprotected

◆ SetNetworkType()

void StunPortTestBase::SetNetworkType ( rtc::AdapterType  adapter_type)
inline

◆ SetUpTestCase()

static void StunPortTestBase::SetUpTestCase ( )
inlinestaticprotected

◆ stun_server_1()

cricket::TestStunServer* StunPortTestBase::stun_server_1 ( )
inlineprotected

◆ stun_server_2()

cricket::TestStunServer* StunPortTestBase::stun_server_2 ( )
inlineprotected

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