Lines Matching refs:TurnServer

124 TurnServer::TurnServer(rtc::Thread* thread)  in TurnServer()  function in cricket::TurnServer
131 TurnServer::~TurnServer() { in ~TurnServer()
146 void TurnServer::AddInternalSocket(rtc::AsyncPacketSocket* socket, in AddInternalSocket()
151 socket->SignalReadPacket.connect(this, &TurnServer::OnInternalPacket); in AddInternalSocket()
154 void TurnServer::AddInternalServerSocket(rtc::AsyncSocket* socket, in AddInternalServerSocket()
160 socket->SignalReadEvent.connect(this, &TurnServer::OnNewInternalConnection); in AddInternalServerSocket()
163 void TurnServer::SetExternalSocketFactory( in SetExternalSocketFactory()
171 void TurnServer::OnNewInternalConnection(rtc::AsyncSocket* socket) { in OnNewInternalConnection()
178 void TurnServer::AcceptConnection(rtc::AsyncSocket* server_socket) { in AcceptConnection()
188 tcp_socket->SignalClose.connect(this, &TurnServer::OnInternalSocketClose); in AcceptConnection()
194 void TurnServer::OnInternalSocketClose(rtc::AsyncPacketSocket* socket, in OnInternalSocketClose()
200 void TurnServer::OnInternalPacket(rtc::AsyncPacketSocket* socket, in OnInternalPacket()
229 void TurnServer::HandleStunMessage(TurnServerConnection* conn, in HandleStunMessage()
297 bool TurnServer::GetKey(const StunMessage* msg, std::string* key) { in GetKey()
309 bool TurnServer::CheckAuthorization(TurnServerConnection* conn, in CheckAuthorization()
371 void TurnServer::HandleBindingRequest(TurnServerConnection* conn, in HandleBindingRequest()
385 void TurnServer::HandleAllocateRequest(TurnServerConnection* conn, in HandleAllocateRequest()
417 std::string TurnServer::GenerateNonce(int64_t now) const { in GenerateNonce()
428 bool TurnServer::ValidateNonce(const std::string& nonce) const { in ValidateNonce()
455 TurnServerAllocation* TurnServer::FindAllocation(TurnServerConnection* conn) { in FindAllocation()
461 TurnServerAllocation* TurnServer::CreateAllocation(TurnServerConnection* conn, in CreateAllocation()
476 allocation->SignalDestroyed.connect(this, &TurnServer::OnAllocationDestroyed); in CreateAllocation()
481 void TurnServer::SendErrorResponse(TurnServerConnection* conn, in SendErrorResponse()
493 void TurnServer::SendErrorResponseWithRealmAndNonce(TurnServerConnection* conn, in SendErrorResponseWithRealmAndNonce()
513 void TurnServer::SendErrorResponseWithAlternateServer( in SendErrorResponseWithAlternateServer()
526 void TurnServer::SendStun(TurnServerConnection* conn, StunMessage* msg) { in SendStun()
538 void TurnServer::Send(TurnServerConnection* conn, in Send()
545 void TurnServer::OnAllocationDestroyed(TurnServerAllocation* allocation) { in OnAllocationDestroyed()
565 void TurnServer::DestroyInternalSocket(rtc::AsyncPacketSocket* socket) { in DestroyInternalSocket()
578 rtc::Bind(&TurnServer::FreeSockets, this)); in DestroyInternalSocket()
582 void TurnServer::FreeSockets() { in FreeSockets()
611 TurnServerAllocation::TurnServerAllocation(TurnServer* server, in TurnServerAllocation()