Searched refs:TcpTransport (Results 1 – 1 of 1) sorted by relevance
56 class TcpTransport : public Transport { class59 static std::unique_ptr<TcpTransport> NewTransport(std::unique_ptr<Socket> socket,62 ~TcpTransport() override = default;69 TcpTransport(std::unique_ptr<Socket> sock) : socket_(std::move(sock)) {} in TcpTransport() function in tcp::TcpTransport78 DISALLOW_COPY_AND_ASSIGN(TcpTransport);81 std::unique_ptr<TcpTransport> TcpTransport::NewTransport(std::unique_ptr<Socket> socket, in NewTransport()83 std::unique_ptr<TcpTransport> transport(new TcpTransport(std::move(socket))); in NewTransport()93 bool TcpTransport::InitializeProtocol(std::string* error) { in InitializeProtocol()127 ssize_t TcpTransport::Read(void* data, size_t length) { in Read()155 ssize_t TcpTransport::Write(const void* data, size_t length) { in Write()[all …]