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

Method VerifyMessage

test/brpc_sofa_pbrpc_protocol_unittest.cpp:111–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

VerifySofaRequestFunction · 0.85
ReAddressMethod · 0.80

Tested by

no test coverage detected