MCPcopy Create free account
hub / github.com/OpenVPN/openvpn3-linux / QueueCount

Method QueueCount

src/common/requiresqueue.cpp:364–376  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

362
363
364uint32_t RequiresQueue::QueueCount(ClientAttentionType type,
365 ClientAttentionGroup group) const noexcept
366{
367 uint32_t ret = 0;
368 for (auto &e : slots)
369 {
370 if (type == e.type && group == e.group)
371 {
372 ret++;
373 }
374 }
375 return ret;
376}
377
378
379std::vector<RequiresQueue::ClientAttTypeGroup> RequiresQueue::QueueCheckTypeGroup() const noexcept

Callers 3

BackendClientObjectMethod · 0.80
connectMethod · 0.80
initialize_clientMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected