Home
last modified time | relevance | path

Searched refs:Subscription (Results 1 – 7 of 7) sorted by relevance

/openbmc/bmcweb/redfish-core/include/
H A Dsubscription.hpp44 class Subscription : public std::enable_shared_from_this<Subscription> class
47 Subscription(const Subscription&) = delete;
48 Subscription& operator=(const Subscription&) = delete;
49 Subscription(Subscription&&) = delete;
50 Subscription& operator=(Subscription&&) = delete;
52 Subscription(std::shared_ptr<persistent_data::UserSubscription> userSubIn,
56 explicit Subscription(crow::sse_socket::Connection& connIn);
58 ~Subscription() = default;
61 void resHandler(const std::shared_ptr<Subscription>& /*self*/,
67 void onHbTimeout(const std::weak_ptr<Subscription>& weakSelf,
H A Devent_service_manager.hpp58 boost::container::flat_map<std::string, std::shared_ptr<Subscription>>
116 std::shared_ptr<Subscription> subValue = in initConfig()
117 std::make_shared<Subscription>(newSub, *url, getIoContext()); in initConfig()
234 Subscription& entry = *it.second; in setEventServiceConfig()
246 std::shared_ptr<Subscription> entry = it.second; in updateNoOfSubscribersCount()
295 std::shared_ptr<Subscription> getSubscription(const std::string& id) in getSubscription()
303 std::shared_ptr<Subscription> subValue = obj->second; in getSubscription()
308 const std::shared_ptr<Subscription>& subValue) in addSubscriptionInternal()
353 const std::shared_ptr<Subscription>& subValue, in addSSESubscription()
400 const std::shared_ptr<Subscription>& subValue) in addPushSubscription()
[all …]
/openbmc/bmcweb/redfish-core/src/
H A Dsubscription.cpp45 Subscription::Subscription( in Subscription() function in redfish::Subscription
57 Subscription::Subscription(crow::sse_socket::Connection& connIn) : in Subscription() function in redfish::Subscription
63 void Subscription::resHandler(const std::shared_ptr<Subscription>& /*self*/, in resHandler() argument
91 void Subscription::sendHeartbeatEvent() in sendHeartbeatEvent()
117 void Subscription::scheduleNextHeartbeatEvent() in scheduleNextHeartbeatEvent()
121 std::bind_front(&Subscription::onHbTimeout, this, weak_from_this())); in scheduleNextHeartbeatEvent()
124 void Subscription::heartbeatParametersChanged() in heartbeatParametersChanged()
134 void Subscription::onHbTimeout(const std::weak_ptr<Subscription>& weakSelf, in onHbTimeout()
153 std::shared_ptr<Subscription> self = weakSelf.lock(); in onHbTimeout()
167 bool Subscription::sendEventToSubscriber(uint64_t eventId, std::string&& msg) in sendEventToSubscriber()
[all …]
/openbmc/openbmc-test-automation/lib/
H A Devent_notification_utils.robot16 Get Event Subscription IDs
31 ${subscription_ids}= Get Event Subscription IDs
42 Delete Event Subscription Of Unpingable Destination IPs
45 ${subscription_ids}= Get Event Subscription IDs
/openbmc/bmcweb/redfish-core/lib/
H A Deventservice_sse.hpp56 std::shared_ptr<Subscription> subValue = in createSubscription()
57 std::make_shared<Subscription>(conn); in createSubscription()
H A Devent_service.hpp494 std::shared_ptr<Subscription> subValue = in requestRoutesEventDestinationCollection()
495 std::make_shared<Subscription>( in requestRoutesEventDestinationCollection()
768 std::shared_ptr<Subscription> subValue = in requestRoutesEventDestination()
827 std::shared_ptr<Subscription> subValue = in requestRoutesEventDestination()
/openbmc/docs/designs/
H A Dredfish-eventservice.md446 2. Subscription Collections (EventDestination collection)
505 2. Subscription Collections
522 **Subscription Collections** This resource is used to get collection of all
725 - Subscription structure: It holds the data associated with each
1024 2. Subscription: Client can subscribe for events on BMC using below
1075 1. EventListner and Subscription: Client can open latest browser (chrome) and
1286 #### Subscription Collections
1295 "Id":"Event Subscription Collection",
1381 - Subscription structure pseudo code: