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

Method reset

src/brpc/input_messenger.cpp:199–204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197}
198
199void InputMessageClosure::reset(InputMessageBase* m) {
200 if (_msg) {
201 ProcessInputMessage(_msg);
202 }
203 _msg = m;
204}
205
206int InputMessenger::ProcessNewMessage(
207 Socket* m, ssize_t bytes, bool read_eof,

Callers 2

ProcessNewMessageMethod · 0.45
DestroyMethod · 0.45

Calls 1

ProcessInputMessageFunction · 0.85

Tested by

no test coverage detected