Lines Matching refs:UdpTransport
102 class UdpTransport : public Transport { class
105 static std::unique_ptr<UdpTransport> NewTransport(std::unique_ptr<Socket> socket,
107 ~UdpTransport() override = default;
115 explicit UdpTransport(std::unique_ptr<Socket> socket) : socket_(std::move(socket)) {} in UdpTransport() function in udp::UdpTransport
139 DISALLOW_COPY_AND_ASSIGN(UdpTransport);
142 std::unique_ptr<UdpTransport> UdpTransport::NewTransport(std::unique_ptr<Socket> socket, in NewTransport()
144 std::unique_ptr<UdpTransport> transport(new UdpTransport(std::move(socket))); in NewTransport()
153 bool UdpTransport::InitializeProtocol(std::string* error) { in InitializeProtocol()
207 ssize_t UdpTransport::SendData(Id id, const uint8_t* tx_data, size_t tx_length, uint8_t* rx_data, in SendData()
253 ssize_t UdpTransport::SendSinglePacketHelper( in SendSinglePacketHelper()
328 ssize_t UdpTransport::Read(void* data, size_t length) { in Read()
347 ssize_t UdpTransport::Write(const void* data, size_t length) { in Write()
364 int UdpTransport::Close() { in Close()
374 int UdpTransport::Reset() { in Reset()
391 return UdpTransport::NewTransport(std::move(sock), error); in Connect()