MCPcopy Create free account
hub / github.com/apache/brpc / on_idle_timeout

Method on_idle_timeout

example/streaming_echo_c++/server.cpp:43–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41 return 0;
42 }
43 virtual void on_idle_timeout(brpc::StreamId id) {
44 LOG(INFO) << "Stream=" << id << " has no data transmission for a while";
45 }
46 virtual void on_closed(brpc::StreamId id) {
47 LOG(INFO) << "Stream=" << id << " is closed";
48 }

Callers 1

ConsumeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected