MCPcopy Create free account
hub / github.com/baidu/braft / CounterServiceImpl

Method CounterServiceImpl

example/counter/server.cpp:331–331  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

329class CounterServiceImpl : public CounterService {
330public:
331 explicit CounterServiceImpl(Counter* counter) : _counter(counter) {}
332 void fetch_add(::google::protobuf::RpcController* controller,
333 const ::example::FetchAddRequest* request,
334 ::example::CounterResponse* response,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected