MCPcopy Create free account
hub / github.com/Tencent/phxpaxos / OnReceiveMessage

Method OnReceiveMessage

src/algorithm/instance.cpp:369–374  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

367//////////////////////////////////////////////////////////////////////
368
369int Instance :: OnReceiveMessage(const char * pcMessage, const int iMessageLen)
370{
371 m_oIOLoop.AddMessage(pcMessage, iMessageLen);
372
373 return 0;
374}
375
376bool Instance :: ReceiveMsgHeaderCheck(const Header & oHeader, const nodeid_t iFromNodeID)
377{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected