Home | History | Annotate | Download | only in websockets

Lines Matching full:socket

18 //   1.   If the user agent already has a Web Socket connection to the
24 virtual int OnStartOpenConnection(SocketStream* socket,
26 virtual int OnRead(SocketStream* socket, const char* data, int len,
28 virtual int OnWrite(SocketStream* socket, const char* data, int len,
30 virtual void OnClose(SocketStream* socket);
43 // Puts |socket| in |queue_| and queues for the destination addresses
44 // of |socket|. Also sets |state| as UserData of |socket|.
45 // If other socket is using the same destination address, set |state| waiting.
46 void PutInQueue(SocketStream* socket, WebSocketState* state);
48 // Removes |socket| from |queue_| and queues for the destination addresses
49 // of |socket|. Also releases |state| from UserData of |socket|.
50 void RemoveFromQueue(SocketStream* socket, WebSocketState* state);
52 // Checks sockets waiting in |queue_| and check the socket is the front of
53 // every queue for the destination addresses of |socket|.
54 // If so, the socket can resume estabilshing connection, so wake up
55 // the socket.