webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Protected Member Functions | List of all members
cricket::P2PTransportChannelPingTest Class Reference
Inheritance diagram for cricket::P2PTransportChannelPingTest:
testing::Test sigslot::has_slots<> sigslot::has_slots_interface sigslot::has_slots_interface cricket::P2PTransportChannelMostLikelyToWorkFirstTest

Public Member Functions

 P2PTransportChannelPingTest ()
 
- 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 PrepareChannel (P2PTransportChannel *ch)
 
ConnectionWaitForConnectionTo (P2PTransportChannel *ch, const std::string &ip, int port_num, rtc::FakeClock *clock=nullptr)
 
PortGetPort (P2PTransportChannel *ch)
 
PortGetPrunedPort (P2PTransportChannel *ch)
 
ConnectionGetConnectionTo (P2PTransportChannel *ch, const std::string &ip, int port_num)
 
ConnectionFindNextPingableConnectionAndPingIt (P2PTransportChannel *ch)
 
int SendData (IceTransportInternal &channel, const char *data, size_t len, int packet_id)
 
ConnectionCreateConnectionWithCandidate (P2PTransportChannel &channel, rtc::ScopedFakeClock &clock, const std::string &ip_addr, int port, int priority, bool writable)
 
void NominateConnection (Connection *conn, uint32_t remote_nomination=1U)
 
void OnSelectedCandidatePairChanged (IceTransportInternal *transport_channel, CandidatePairInterface *selected_candidate_pair, int last_sent_packet_id, bool ready_to_send)
 
void ReceivePingOnConnection (Connection *conn, const std::string &remote_ufrag, int priority, uint32_t nomination=0)
 
void OnReadyToSend (rtc::PacketTransportInternal *transport)
 
void OnChannelStateChanged (IceTransportInternal *channel)
 
CandidatePairInterfacelast_selected_candidate_pair ()
 
int last_sent_packet_id ()
 
bool channel_ready_to_send ()
 
void reset_channel_ready_to_send ()
 
IceTransportState channel_state ()
 
int reset_selected_candidate_pair_switches ()
 
- 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 ()
 

Constructor & Destructor Documentation

◆ P2PTransportChannelPingTest()

cricket::P2PTransportChannelPingTest::P2PTransportChannelPingTest ( )
inline

Member Function Documentation

◆ channel_ready_to_send()

bool cricket::P2PTransportChannelPingTest::channel_ready_to_send ( )
inlineprotected

◆ channel_state()

IceTransportState cricket::P2PTransportChannelPingTest::channel_state ( )
inlineprotected

◆ CreateConnectionWithCandidate()

Connection* cricket::P2PTransportChannelPingTest::CreateConnectionWithCandidate ( P2PTransportChannel channel,
rtc::ScopedFakeClock clock,
const std::string ip_addr,
int  port,
int  priority,
bool  writable 
)
inlineprotected

◆ FindNextPingableConnectionAndPingIt()

Connection* cricket::P2PTransportChannelPingTest::FindNextPingableConnectionAndPingIt ( P2PTransportChannel ch)
inlineprotected

◆ GetConnectionTo()

Connection* cricket::P2PTransportChannelPingTest::GetConnectionTo ( P2PTransportChannel ch,
const std::string ip,
int  port_num 
)
inlineprotected

◆ GetPort()

Port* cricket::P2PTransportChannelPingTest::GetPort ( P2PTransportChannel ch)
inlineprotected

◆ GetPrunedPort()

Port* cricket::P2PTransportChannelPingTest::GetPrunedPort ( P2PTransportChannel ch)
inlineprotected

◆ last_selected_candidate_pair()

CandidatePairInterface* cricket::P2PTransportChannelPingTest::last_selected_candidate_pair ( )
inlineprotected

◆ last_sent_packet_id()

int cricket::P2PTransportChannelPingTest::last_sent_packet_id ( )
inlineprotected

◆ NominateConnection()

void cricket::P2PTransportChannelPingTest::NominateConnection ( Connection conn,
uint32_t  remote_nomination = 1U 
)
inlineprotected

◆ OnChannelStateChanged()

void cricket::P2PTransportChannelPingTest::OnChannelStateChanged ( IceTransportInternal channel)
inlineprotected

◆ OnReadyToSend()

void cricket::P2PTransportChannelPingTest::OnReadyToSend ( rtc::PacketTransportInternal transport)
inlineprotected

◆ OnSelectedCandidatePairChanged()

void cricket::P2PTransportChannelPingTest::OnSelectedCandidatePairChanged ( IceTransportInternal transport_channel,
CandidatePairInterface selected_candidate_pair,
int  last_sent_packet_id,
bool  ready_to_send 
)
inlineprotected

◆ PrepareChannel()

void cricket::P2PTransportChannelPingTest::PrepareChannel ( P2PTransportChannel ch)
inlineprotected

◆ ReceivePingOnConnection()

void cricket::P2PTransportChannelPingTest::ReceivePingOnConnection ( Connection conn,
const std::string remote_ufrag,
int  priority,
uint32_t  nomination = 0 
)
inlineprotected

◆ reset_channel_ready_to_send()

void cricket::P2PTransportChannelPingTest::reset_channel_ready_to_send ( )
inlineprotected

◆ reset_selected_candidate_pair_switches()

int cricket::P2PTransportChannelPingTest::reset_selected_candidate_pair_switches ( )
inlineprotected

◆ SendData()

int cricket::P2PTransportChannelPingTest::SendData ( IceTransportInternal channel,
const char *  data,
size_t  len,
int  packet_id 
)
inlineprotected

◆ WaitForConnectionTo()

Connection* cricket::P2PTransportChannelPingTest::WaitForConnectionTo ( P2PTransportChannel ch,
const std::string ip,
int  port_num,
rtc::FakeClock clock = nullptr 
)
inlineprotected

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