Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chenshuo/muduo
/ onRead
Method
onRead
examples/cdns/Resolver.cc:96–100 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
94
}
95
96
void Resolver::onRead(int sockfd, Timestamp t)
97
{
98
LOG_DEBUG <<
"onRead "
<< sockfd <<
" at "
<< t.toString();
99
ares_process_fd(ctx_, sockfd, ARES_SOCKET_BAD);
100
}
101
102
void Resolver::onTimer()
103
{
Callers
nothing calls this directly
Calls
1
toString
Method · 0.45
Tested by
no test coverage detected