Lines Matching refs:AsyncSocket
77 void Monitor(AsyncSocket* socket) { in Monitor()
85 void Unmonitor(AsyncSocket* socket) { in Unmonitor()
92 bool Check(AsyncSocket* socket, StreamSinkEvent event, bool reset = true) {
95 int Events(AsyncSocket* socket, bool reset = true) {
108 void OnConnectEvent(AsyncSocket* socket) { in OnConnectEvent()
111 void OnReadEvent(AsyncSocket* socket) { in OnReadEvent()
114 void OnWriteEvent(AsyncSocket* socket) { in OnWriteEvent()
117 void OnCloseEvent(AsyncSocket* socket, int error) { in OnCloseEvent()
281 SocketTestClient(AsyncSocket* socket) { in SocketTestClient()
289 AsyncSocket* socket() { return socket_.get(); } in socket()
325 void Init(AsyncSocket* socket, int family) { in Init()
354 void OnConnectEvent(AsyncSocket* socket) { in OnConnectEvent()
359 void OnReadEvent(AsyncSocket* socket) { in OnReadEvent()
366 void OnWriteEvent(AsyncSocket* socket) { in OnWriteEvent()
371 void OnCloseEvent(AsyncSocket* socket, int error) { in OnCloseEvent()
374 scoped_ptr<AsyncSocket> socket_;
409 void OnReadEvent(AsyncSocket* socket) { in OnReadEvent()
410 AsyncSocket* accepted = in OnReadEvent()
411 static_cast<AsyncSocket*>(socket_->Accept(NULL)); in OnReadEvent()
417 scoped_ptr<AsyncSocket> socket_;