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

Method EchoServiceImpl

example/coroutine/coroutine_server.cpp:38–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36class EchoServiceImpl : public EchoService {
37public:
38 EchoServiceImpl() {
39 brpc::ChannelOptions options;
40 options.timeout_ms = FLAGS_sleep_us / 1000 * 2 + 100;
41 options.max_retry = 0;
42 CHECK(_channel.Init(butil::EndPoint(butil::IP_ANY, FLAGS_port), &options) == 0);
43 }
44
45 virtual ~EchoServiceImpl() {}
46

Callers

nothing calls this directly

Calls 2

EndPointClass · 0.85
InitMethod · 0.45

Tested by

no test coverage detected