Searched refs:AsyncSocket (Results 26 - 50 of 89) sorted by relevance

1234

/external/chromium_org/third_party/libjingle/source/talk/xmpp/
H A Dasyncsocket.h41 class AsyncSocket { class in namespace:buzz
64 virtual ~AsyncSocket() {}
H A Dxmpppump.h56 buzz::AsyncSocket* socket,
/external/chromium_org/third_party/webrtc/base/
H A Dnullsocketserver.h44 virtual rtc::AsyncSocket* CreateAsyncSocket(int type) {
49 virtual rtc::AsyncSocket* CreateAsyncSocket(int family, int type) {
H A Dasynctcpsocket.cc35 AsyncSocket* AsyncTCPSocketBase::ConnectSocket(
36 rtc::AsyncSocket* socket,
39 rtc::scoped_ptr<rtc::AsyncSocket> owned_socket(socket);
51 AsyncTCPSocketBase::AsyncTCPSocketBase(AsyncSocket* socket, bool listen,
173 void AsyncTCPSocketBase::OnConnectEvent(AsyncSocket* socket) {
177 void AsyncTCPSocketBase::OnReadEvent(AsyncSocket* socket) {
182 rtc::AsyncSocket* new_socket = socket->Accept(&address);
216 void AsyncTCPSocketBase::OnWriteEvent(AsyncSocket* socket) {
228 void AsyncTCPSocketBase::OnCloseEvent(AsyncSocket* socket, int error) {
237 AsyncSocket* socke
[all...]
H A Dsslsocketfactory.h60 virtual AsyncSocket* CreateAsyncSocket(int type);
61 virtual AsyncSocket* CreateAsyncSocket(int family, int type);
65 AsyncSocket* CreateProxySocket(const ProxyInfo& proxy, int family, int type);
H A Dnatsocketfactory.h31 virtual AsyncSocket* CreateInternalSocket(int family, int type,
45 virtual AsyncSocket* CreateAsyncSocket(int type);
46 virtual AsyncSocket* CreateAsyncSocket(int family, int type);
49 virtual AsyncSocket* CreateInternalSocket(int family, int type,
134 virtual AsyncSocket* CreateAsyncSocket(int type);
135 virtual AsyncSocket* CreateAsyncSocket(int family, int type);
149 virtual AsyncSocket* CreateInternalSocket(int family, int type,
H A Dhttpserver.h19 class AsyncSocket;
126 void OnReadEvent(AsyncSocket* socket);
130 scoped_ptr<AsyncSocket> listener_;
H A Dphysicalsocketserver.h67 virtual AsyncSocket* CreateAsyncSocket(int type);
68 virtual AsyncSocket* CreateAsyncSocket(int family, int type);
71 AsyncSocket* WrapSocket(SOCKET s);
H A Dtestechoserver.h43 void OnAccept(AsyncSocket* socket) {
44 AsyncSocket* raw_socket = socket->Accept(NULL);
66 scoped_ptr<AsyncSocket> server_socket_;
H A Dasynctcpsocket_unittest.cc42 AsyncSocket* socket_;
H A Dasyncudpsocket_unittest.cc42 AsyncSocket* socket_;
H A Dfirewallsocketserver.h64 virtual AsyncSocket* CreateAsyncSocket(int type);
65 virtual AsyncSocket* CreateAsyncSocket(int family, int type);
78 AsyncSocket * WrapSocket(AsyncSocket * sock, int type);
H A Dssladapter.cc38 SSLAdapter::Create(AsyncSocket* socket) {
H A Dvirtualsocket_unittest.cc30 Sender(Thread* th, AsyncSocket* s, uint32 rt)
73 Receiver(Thread* th, AsyncSocket* s, uint32 bw)
154 AsyncSocket* socket = ss_->CreateAsyncSocket(initial_addr.family(),
162 AsyncSocket* socket2 =
202 AsyncSocket* client = ss_->CreateAsyncSocket(initial_addr.family(),
205 EXPECT_EQ(client->GetState(), AsyncSocket::CS_CLOSED);
209 AsyncSocket* server = ss_->CreateAsyncSocket(initial_addr.family(),
216 EXPECT_EQ(server->GetState(), AsyncSocket::CS_CONNECTING);
230 EXPECT_EQ(client->GetState(), AsyncSocket::CS_CONNECTING);
237 EXPECT_EQ(client->GetState(), AsyncSocket
[all...]
H A Dtestclient_unittest.cc23 AsyncSocket* socket = main->socketserver()
39 AsyncSocket* socket = main->socketserver()
H A Dnatsocketfactory.cc68 class NATSocket : public AsyncSocket, public sigslot::has_slots<> {
216 virtual AsyncSocket* Accept(SocketAddress *paddr) {
238 void OnConnectEvent(AsyncSocket* socket) {
248 void OnReadEvent(AsyncSocket* socket) {
257 void OnWriteEvent(AsyncSocket* socket) {
261 void OnCloseEvent(AsyncSocket* socket, int error) {
301 AsyncSocket* socket_;
320 AsyncSocket* NATSocketFactory::CreateAsyncSocket(int type) {
324 AsyncSocket* NATSocketFactory::CreateAsyncSocket(int family, int type) {
328 AsyncSocket* NATSocketFactor
[all...]
H A Dsslsocketfactory.cc109 AsyncSocket* SslSocketFactory::CreateAsyncSocket(int type) {
113 AsyncSocket* SslSocketFactory::CreateAsyncSocket(int family, int type) {
122 AsyncSocket* SslSocketFactory::CreateProxySocket(const ProxyInfo& proxy,
125 AsyncSocket* socket = factory_->CreateAsyncSocket(family, type);
136 AsyncSocket* proxy_socket = 0;
H A Dtestutils.h43 // or AsyncSocket (which should probably be a StreamInterface.
75 void Monitor(AsyncSocket* socket) {
83 void Unmonitor(AsyncSocket* socket) {
90 bool Check(AsyncSocket* socket, StreamSinkEvent event, bool reset = true) {
93 int Events(AsyncSocket* socket, bool reset = true) {
106 void OnConnectEvent(AsyncSocket* socket) {
109 void OnReadEvent(AsyncSocket* socket) {
112 void OnWriteEvent(AsyncSocket* socket) {
115 void OnCloseEvent(AsyncSocket* socket, int error) {
279 SocketTestClient(AsyncSocket* socke
[all...]
H A Dfirewallsocketserver.cc24 FirewallSocket(FirewallSocketServer* server, AsyncSocket* socket, int type)
83 virtual AsyncSocket* Accept(SocketAddress* paddr) {
85 while (AsyncSocket* sock = AsyncSocketAdapter::Accept(&addr)) {
185 AsyncSocket* FirewallSocketServer::CreateAsyncSocket(int type) {
189 AsyncSocket* FirewallSocketServer::CreateAsyncSocket(int family, int type) {
193 AsyncSocket* FirewallSocketServer::WrapSocket(AsyncSocket* sock, int type) {
H A Dmacsocketserver.h35 virtual AsyncSocket* CreateAsyncSocket(int type);
36 virtual AsyncSocket* CreateAsyncSocket(int family, int type);
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
H A Dteststunserver.h48 rtc::AsyncSocket* socket_;
H A Drelayport_unittest.cc131 rtc::AsyncSocket* server_socket = CreateServerSocket(kRelayTcpAddr);
168 rtc::AsyncSocket* server_socket = CreateServerSocket(kRelayTcpAddr);
201 rtc::AsyncSocket* ssl_server_socket =
208 rtc::scoped_ptr<rtc::AsyncSocket> tcp_server_socket(
233 rtc::AsyncSocket* socket =
242 rtc::AsyncSocket* CreateServerSocket(const SocketAddress addr) {
243 rtc::AsyncSocket* socket =
H A Dasyncstuntcpsocket.cc56 rtc::AsyncSocket* socket,
64 rtc::AsyncSocket* socket, bool listen)
139 rtc::AsyncSocket* socket) {
H A Dbasicpacketsocketfactory.cc66 rtc::AsyncSocket* socket =
90 rtc::AsyncSocket* socket =
124 rtc::AsyncSocket* socket =
196 AsyncSocket* socket, const SocketAddress& local_address,
/external/chromium_org/jingle/glue/
H A Dchrome_async_socket.h5 // An implementation of buzz::AsyncSocket that uses Chrome sockets.
35 class ChromeAsyncSocket : public buzz::AsyncSocket {
46 // buzz::AsyncSocket implementation.
48 // The current state (see buzz::AsyncSocket::State; all but
185 // buzz::AsyncSocket state.
186 buzz::AsyncSocket::State state_;
187 buzz::AsyncSocket::Error error_;

Completed in 345 milliseconds

1234