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

Method VerifyMessage

test/brpc_nova_pbrpc_protocol_unittest.cpp:106–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104 virtual void TearDown() {};
105
106 void VerifyMessage(brpc::InputMessageBase* msg) {
107 if (msg->_socket == NULL) {
108 _socket->ReAddress(&msg->_socket);
109 }
110 msg->_arg = &_server;
111 EXPECT_TRUE(brpc::policy::VerifyNsheadRequest(msg));
112 }
113
114 void ProcessMessage(void (*process)(brpc::InputMessageBase*),
115 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