MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / dispatch

Method dispatch

base/poco/Net/src/SocketReactor.cpp:245–257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

243
244
245void SocketReactor::dispatch(const Socket& socket, SocketNotification* pNotification)
246{
247 NotifierPtr pNotifier;
248 {
249 FastMutex::ScopedLock lock(_mutex);
250 EventHandlerMap::iterator it = _handlers.find(socket);
251 if (it != _handlers.end())
252 pNotifier = it->second;
253 else
254 return;
255 }
256 dispatch(pNotifier, pNotification);
257}
258
259
260void SocketReactor::dispatch(SocketNotification* pNotification)

Callers

nothing calls this directly

Calls 7

handleFunction · 0.85
findMethod · 0.45
endMethod · 0.45
reserveMethod · 0.45
sizeMethod · 0.45
beginMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected