Home
last modified time | relevance | path

Searched refs:SocketStream (Results 1 – 4 of 4) sorted by relevance

/system/weaved/buffet/
Dsocket_stream.cc98 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()
Dsocket_stream.h28 class SocketStream : public weave::Stream {
30 explicit SocketStream(brillo::StreamPtr ptr) : ptr_{std::move(ptr)} {} in SocketStream() function
32 ~SocketStream() override = default;
54 DISALLOW_COPY_AND_ASSIGN(SocketStream);
Dwebserv_client.cc77 new SocketStream{request_->GetDataStream()}}; in GetDataStream()
Dshill_client.cc579 SocketStream::ConnectBlocking(host, port)}; in OpenSslSocket()
590 SocketStream::TlsConnect(std::move(raw_stream), host, callback); in OpenSslSocket()