Searched refs:StunProber (Results 1 – 4 of 4) sorted by relevance
/external/webrtc/webrtc/p2p/stunprober/ |
D | stunprober.cc | 42 class StunProber::Requester : public sigslot::has_slots<> { 63 Requester(StunProber* prober, 89 StunProber* prober_; 108 StunProber::Requester::Requester( in Requester() 109 StunProber* prober, in Requester() 118 this, &StunProber::Requester::OnStunResponseReceived); in Requester() 121 StunProber::Requester::~Requester() { in ~Requester() 132 void StunProber::Requester::SendStunRequest() { in SendStunRequest() 170 void StunProber::Requester::Request::ProcessResponse(const char* buf, in ProcessResponse() 199 void StunProber::Requester::OnStunResponseReceived( in OnStunResponseReceived() [all …]
|
D | stunprober.h | 40 class StunProber; variable 44 typedef rtc::Callback2<void, StunProber*, int> AsyncCallback; 54 class StunProber : public sigslot::has_slots<> { 67 virtual void OnPrepared(StunProber* prober, StunProber::Status status) = 0; 68 virtual void OnFinished(StunProber* prober, StunProber::Status status) = 0; 100 StunProber(rtc::PacketSocketFactory* socket_factory, 103 virtual ~StunProber(); 132 StunProber::Observer* observer); 135 bool Start(StunProber::Observer* observer); 157 void OnPrepared(StunProber* stunprober, Status status) { in OnPrepared() [all …]
|
D | main.cc | 31 using stunprober::StunProber; 65 void PrintStats(StunProber* prober) { in PrintStats() 66 StunProber::Stats stats; in PrintStats() 88 void StopTrial(rtc::Thread* thread, StunProber* prober, int result) { in StopTrial() 92 if (result == StunProber::SUCCESS) { in StopTrial() 128 StunProber* prober = in main() 129 new StunProber(socket_factory.get(), rtc::Thread::Current(), networks); in main() 130 auto finish_callback = [thread](StunProber* prober, int result) { in main()
|
D | stunprober_unittest.cc | 24 using stunprober::StunProber; 46 result_(StunProber::SUCCESS), in StunProberTest() 65 new StunProber(socket_factory, rtc::Thread::Current(), networks)); in StartProbing() 67 100 /* timeout_ms */, [this](StunProber* prober, int result) { in StartProbing() 104 StunProber::Stats stats; in RunProber() 116 void StopCallback(StunProber* prober, int result) { in StopCallback() 125 rtc::scoped_ptr<StunProber> prober;
|