Searched refs:DisconnectBuilder (Results 1 – 5 of 5) sorted by relevance
29 class DisconnectBuilder : public PacketBuilder<true> {31 virtual ~DisconnectBuilder() = default;33 static std::unique_ptr<DisconnectBuilder> Create(uint8_t reason) { in Create()34 return std::unique_ptr<DisconnectBuilder>(new DisconnectBuilder(reason)); in Create()47 explicit DisconnectBuilder(uint8_t reason) : reason_(reason) {} in DisconnectBuilder() function
51 …static std::shared_ptr<LinkLayerPacketBuilder> WrapDisconnect(std::unique_ptr<DisconnectBuilder> d…
53 std::unique_ptr<DisconnectBuilder> disconnect, const Address& source, const Address& dest) { in WrapDisconnect()
62 auto disconnect = DisconnectBuilder::Create(reason); in TEST_F()94 auto disconnect_builder = DisconnectBuilder::Create(reason); in TEST_F()
983 …LinkLayerPacketBuilder::WrapDisconnect(DisconnectBuilder::Create(reason), properties_.GetAddress()… in Disconnect()