Lines Matching refs:SyncSocket
25 class BASE_EXPORT SyncSocket {
34 SyncSocket();
36 // Creates a SyncSocket from a Handle. Used in transport.
37 explicit SyncSocket(Handle handle) : handle_(handle) {}
38 virtual ~SyncSocket();
43 static bool CreatePair(SyncSocket* socket_a, SyncSocket* socket_b);
45 // Closes the SyncSocket. Returns true on success, false on failure.
48 // Sends the message to the remote peer of the SyncSocket.
56 // Receives a message from an SyncSocket.
83 DISALLOW_COPY_AND_ASSIGN(SyncSocket);
86 // Derives from SyncSocket and adds support for shutting down the socket from
89 class BASE_EXPORT CancelableSyncSocket : public SyncSocket {
96 // SyncSocket::CreatePair for more details.
110 // SyncSocket methods in order to support shutting down the 'socket'.
121 // SyncSocket::Send will, but instead return 0, as no bytes could be sent.
136 const SyncSocket::Handle SyncSocket::kInvalidHandle = INVALID_HANDLE_VALUE;