MCPcopy Create free account
hub / github.com/XTXMarkets/ternfs / clearAlert

Method clearAlert

cpp/core/XmonAgent.cpp:115–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113}
114
115void XmonAgent::clearAlert(XmonNCAlert& aid) {
116 if (likely(aid.alertId < 0)) { return; }
117 XmonRequest req;
118 req.appType = aid.appType;
119 req.msgType = XmonRequestType::CLEAR;
120 req.alertId = aid.alertId;
121 req.binnable = false;
122 req.message = {};
123 req.quietPeriod = 0;
124 req.write(_pipe[1]);
125 aid.alertId = -1;
126}

Callers

nothing calls this directly

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected