MCPcopy Create free account
hub / github.com/Kistler-Group/sdbus-cpp / finishHandshake

Method finishHandshake

src/Connection.cpp:770–781  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

768}
769
770void Connection::finishHandshake(sd_bus* bus)
771{
772 // Process all requests that are part of the initial handshake,
773 // like processing the Hello message response, authentication etc.,
774 // to avoid connection authentication timeout in dbus daemon.
775
776 assert(bus != nullptr);
777
778 auto r = sdbus_->sd_bus_flush(bus);
779
780 SDBUS_THROW_ERROR_IF(r < 0, "Failed to flush bus on opening", -r);
781}
782
783void Connection::notifyEventLoopToExit()
784{

Callers

nothing calls this directly

Calls 1

sd_bus_flushMethod · 0.80

Tested by

no test coverage detected