Searched refs:SocketStream (Results 1 – 4 of 4) sorted by relevance
98 std::unique_ptr<weave::Stream>{new SocketStream{std::move(tls_stream)}}, in OnSuccess()111 void SocketStream::Read(void* buffer, in Read()128 void SocketStream::Write(const void* buffer, in Write()141 void SocketStream::CancelPendingOperations() { in CancelPendingOperations()145 std::unique_ptr<weave::Stream> SocketStream::ConnectBlocking( in ConnectBlocking()154 return std::unique_ptr<Stream>{new SocketStream{std::move(ptr_)}}; in ConnectBlocking()160 void SocketStream::TlsConnect(std::unique_ptr<Stream> socket, in TlsConnect()163 SocketStream* stream = static_cast<SocketStream*>(socket.get()); in TlsConnect()
28 class SocketStream : public weave::Stream {30 explicit SocketStream(brillo::StreamPtr ptr) : ptr_{std::move(ptr)} {} in SocketStream() function32 ~SocketStream() override = default;54 DISALLOW_COPY_AND_ASSIGN(SocketStream);
77 new SocketStream{request_->GetDataStream()}}; in GetDataStream()
579 SocketStream::ConnectBlocking(host, port)}; in OpenSslSocket()590 SocketStream::TlsConnect(std::move(raw_stream), host, callback); in OpenSslSocket()