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;
114 explicit UdpTransport(std::unique_ptr<Socket> socket) : socket_(std::move(socket)) {} in UdpTransport() function in udp::UdpTransport
138 DISALLOW_COPY_AND_ASSIGN(UdpTransport);
141 std::unique_ptr<UdpTransport> UdpTransport::NewTransport(std::unique_ptr<Socket> socket, in NewTransport()
143 std::unique_ptr<UdpTransport> transport(new UdpTransport(std::move(socket))); in NewTransport()
152 bool UdpTransport::InitializeProtocol(std::string* error) { in InitializeProtocol()
206 ssize_t UdpTransport::SendData(Id id, const uint8_t* tx_data, size_t tx_length, uint8_t* rx_data, in SendData()
252 ssize_t UdpTransport::SendSinglePacketHelper( in SendSinglePacketHelper()
327 ssize_t UdpTransport::Read(void* data, size_t length) { in Read()
346 ssize_t UdpTransport::Write(const void* data, size_t length) { in Write()
363 int UdpTransport::Close() { in Close()
386 return UdpTransport::NewTransport(std::move(sock), error); in Connect()