Home | History | Annotate | Download | only in base

Lines Matching refs:socket

45 // Implements a socket adapter that can buffer and process data internally,
47 // protocol before commencing normal socket behavior.
50 BufferedReadAdapter(AsyncSocket* socket, size_t buffer_size);
64 virtual void OnReadEvent(AsyncSocket * socket);
78 AsyncProxyServerSocket(AsyncSocket* socket, size_t buffer_size)
79 : BufferedReadAdapter(socket, buffer_size) {}
87 // Implements a socket adapter that performs the client side of a
91 explicit AsyncSSLSocket(AsyncSocket* socket);
96 virtual void OnConnectEvent(AsyncSocket* socket);
101 // Implements a socket adapter that performs the server side of a
105 explicit AsyncSSLServerSocket(AsyncSocket* socket);
114 // Implements a socket adapter that speaks the HTTP/S proxy protocol.
117 AsyncHttpsProxySocket(AsyncSocket* socket, const std::string& user_agent,
133 virtual void OnConnectEvent(AsyncSocket* socket);
134 virtual void OnCloseEvent(AsyncSocket* socket, int err);
163 explicit AsyncHttpsProxyServerSocket(AsyncSocket* socket);
174 // Implements a socket adapter that speaks the SOCKS proxy protocol.
177 AsyncSocksProxySocket(AsyncSocket* socket, const SocketAddress& proxy,
186 virtual void OnConnectEvent(AsyncSocket* socket);
205 // Implements a proxy server socket for the SOCKS protocol.
208 explicit AsyncSocksProxyServerSocket(AsyncSocket* socket);
233 // Implements a socket adapter that logs everything that it sends and receives.
236 LoggingSocketAdapter(AsyncSocket* socket, LoggingSeverity level,
246 virtual void OnConnectEvent(AsyncSocket * socket);
247 virtual void OnCloseEvent(AsyncSocket * socket, int err);