MCPcopy Create free account
hub / github.com/Icinga/icinga2 / AddMessageReceived

Method AddMessageReceived

lib/remote/endpoint.cpp:130–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130void Endpoint::AddMessageReceived(int bytes)
131{
132 double time = Utility::GetTime();
133 m_MessagesReceived.InsertValue(time, 1);
134 m_BytesReceived.InsertValue(time, bytes);
135 SetLastMessageReceived(time);
136}
137
138void Endpoint::AddMessageReceived(const intrusive_ptr<ApiFunction>& method)
139{

Callers 2

MessageHandlerMethod · 0.80

Calls 1

InsertValueMethod · 0.80

Tested by

no test coverage detected