Lines Matching refs:TestClient
21 TestClient::TestClient(AsyncPacketSocket* socket) in TestClient() function in rtc::TestClient
24 socket_->SignalReadPacket.connect(this, &TestClient::OnPacket); in TestClient()
25 socket_->SignalReadyToSend.connect(this, &TestClient::OnReadyToSend); in TestClient()
28 TestClient::~TestClient() { in ~TestClient()
35 bool TestClient::CheckConnState(AsyncPacketSocket::State state) { in CheckConnState()
43 int TestClient::Send(const char* buf, size_t size) { in Send()
48 int TestClient::SendTo(const char* buf, size_t size, in SendTo()
54 TestClient::Packet* TestClient::NextPacket(int timeout_ms) { in NextPacket()
88 bool TestClient::CheckNextPacket(const char* buf, size_t size, in CheckNextPacket()
101 bool TestClient::CheckNoPacket() { in CheckNoPacket()
109 int TestClient::GetError() { in GetError()
113 int TestClient::SetOption(Socket::Option opt, int value) { in SetOption()
117 bool TestClient::ready_to_send() const { in ready_to_send()
121 void TestClient::OnPacket(AsyncPacketSocket* socket, const char* buf, in OnPacket()
128 void TestClient::OnReadyToSend(AsyncPacketSocket* socket) { in OnReadyToSend()
132 TestClient::Packet::Packet(const SocketAddress& a, const char* b, size_t s) in Packet()
138 TestClient::Packet::Packet(const Packet& p) in Packet()
144 TestClient::Packet::~Packet() { in ~Packet()