Lines Matching full:connection
37 class ConnectionImpl : public Connection
42 std::function<void(Connection&, const Request&)> openHandlerIn, in ConnectionImpl() argument
43 std::function<void(Connection&)> closeHandlerIn) : in ConnectionImpl()
64 BMCWEB_LOG_DEBUG("Starting SSE connection"); in start()
78 BMCWEB_LOG_DEBUG("Closing connection with reason {}", msg); in close()
84 BMCWEB_LOG_DEBUG("Closing SSE connection {} - {}", logPtr(this), msg); in close()
88 void sendSSEHeaderCallback(const std::shared_ptr<Connection>& /*self*/, in sendSSEHeaderCallback() argument
100 BMCWEB_LOG_DEBUG("SSE header sent - Connection established"); in sendSSEHeaderCallback()
115 void afterReadError(const std::shared_ptr<Connection>& /*self*/, in afterReadError() argument
128 close("Close SSE connection"); in afterReadError()
151 void doWriteCallback(const std::shared_ptr<Connection>& /*self*/, in doWriteCallback() argument
226 std::weak_ptr<Connection> weakSelf = weak_from_this(); in startTimeout()
232 void onTimeoutCallback(const std::weak_ptr<Connection>& weakSelf, in onTimeoutCallback()
235 std::shared_ptr<Connection> self = weakSelf.lock(); in onTimeoutCallback()
238 BMCWEB_LOG_CRITICAL("{} Failed to capture connection", in onTimeoutCallback()
254 BMCWEB_LOG_WARNING("{} Connection timed out, closing", in onTimeoutCallback()
257 self->close("closing connection"); in onTimeoutCallback()
272 std::function<void(Connection&, const Request&)> openHandler;
273 std::function<void(Connection&)> closeHandler;