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

Method VerifyMessage

test/brpc_public_pbrpc_protocol_unittest.cpp:113–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111 virtual void TearDown() {};
112
113 void VerifyMessage(brpc::InputMessageBase* msg) {
114 if (msg->_socket == NULL) {
115 _socket->ReAddress(&msg->_socket);
116 }
117 msg->_arg = &_server;
118 EXPECT_TRUE(brpc::policy::VerifyNsheadRequest(msg));
119 }
120
121 void ProcessMessage(void (*process)(brpc::InputMessageBase*),
122 brpc::InputMessageBase* msg, bool set_eof) {

Callers

nothing calls this directly

Calls 2

VerifyNsheadRequestFunction · 0.85
ReAddressMethod · 0.80

Tested by

no test coverage detected