Lines Matching refs:TurnServerAllocation
62 class TurnServerAllocation::Permission : public rtc::MessageHandler {
82 class TurnServerAllocation::Channel : public rtc::MessageHandler {
219 TurnServerAllocation* allocation = FindAllocation(&conn); in OnInternalPacket()
260 TurnServerAllocation* allocation = FindAllocation(conn); in HandleStunMessage()
356 TurnServerAllocation* allocation = FindAllocation(conn); in CheckAuthorization()
408 TurnServerAllocation* alloc = CreateAllocation(conn, proto, key); in HandleAllocateRequest()
455 TurnServerAllocation* TurnServer::FindAllocation(TurnServerConnection* conn) { in FindAllocation()
461 TurnServerAllocation* TurnServer::CreateAllocation(TurnServerConnection* conn, in CreateAllocation()
474 TurnServerAllocation* allocation = in CreateAllocation()
475 new TurnServerAllocation(this, thread_, *conn, external_socket, key); in CreateAllocation()
545 void TurnServer::OnAllocationDestroyed(TurnServerAllocation* allocation) { in OnAllocationDestroyed()
611 TurnServerAllocation::TurnServerAllocation(TurnServer* server, in TurnServerAllocation() function in cricket::TurnServerAllocation
622 this, &TurnServerAllocation::OnExternalPacket); in TurnServerAllocation()
625 TurnServerAllocation::~TurnServerAllocation() { in ~TurnServerAllocation()
637 std::string TurnServerAllocation::ToString() const { in ToString()
643 void TurnServerAllocation::HandleTurnMessage(const TurnMessage* msg) { in HandleTurnMessage()
669 void TurnServerAllocation::HandleAllocateRequest(const TurnMessage* msg) { in HandleAllocateRequest()
707 void TurnServerAllocation::HandleRefreshRequest(const TurnMessage* msg) { in HandleRefreshRequest()
730 void TurnServerAllocation::HandleSendIndication(const TurnMessage* msg) { in HandleSendIndication()
752 void TurnServerAllocation::HandleCreatePermissionRequest( in HandleCreatePermissionRequest()
780 void TurnServerAllocation::HandleChannelBindRequest(const TurnMessage* msg) { in HandleChannelBindRequest()
811 this, &TurnServerAllocation::OnChannelDestroyed); in HandleChannelBindRequest()
829 void TurnServerAllocation::HandleChannelData(const char* data, size_t size) { in HandleChannelData()
844 void TurnServerAllocation::OnExternalPacket( in OnExternalPacket()
877 int TurnServerAllocation::ComputeLifetime(const TurnMessage* msg) { in ComputeLifetime()
887 bool TurnServerAllocation::HasPermission(const rtc::IPAddress& addr) { in HasPermission()
891 void TurnServerAllocation::AddPermission(const rtc::IPAddress& addr) { in AddPermission()
896 &TurnServerAllocation::OnPermissionDestroyed); in AddPermission()
903 TurnServerAllocation::Permission* TurnServerAllocation::FindPermission( in FindPermission()
913 TurnServerAllocation::Channel* TurnServerAllocation::FindChannel( in FindChannel()
923 TurnServerAllocation::Channel* TurnServerAllocation::FindChannel( in FindChannel()
933 void TurnServerAllocation::SendResponse(TurnMessage* msg) { in SendResponse()
939 void TurnServerAllocation::SendBadRequestResponse(const TurnMessage* req) { in SendBadRequestResponse()
943 void TurnServerAllocation::SendErrorResponse(const TurnMessage* req, in SendErrorResponse()
949 void TurnServerAllocation::SendExternal(const void* data, in SendExternal()
956 void TurnServerAllocation::OnMessage(rtc::Message* msg) { in OnMessage()
962 void TurnServerAllocation::OnPermissionDestroyed(Permission* perm) { in OnPermissionDestroyed()
968 void TurnServerAllocation::OnChannelDestroyed(Channel* channel) { in OnChannelDestroyed()
974 TurnServerAllocation::Permission::Permission(rtc::Thread* thread, in Permission()
980 TurnServerAllocation::Permission::~Permission() { in ~Permission()
984 void TurnServerAllocation::Permission::Refresh() { in Refresh()
990 void TurnServerAllocation::Permission::OnMessage(rtc::Message* msg) { in OnMessage()
996 TurnServerAllocation::Channel::Channel(rtc::Thread* thread, in Channel()
1003 TurnServerAllocation::Channel::~Channel() { in ~Channel()
1007 void TurnServerAllocation::Channel::Refresh() { in Refresh()
1013 void TurnServerAllocation::Channel::OnMessage(rtc::Message* msg) { in OnMessage()