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

Method BroadcastMessageToTempNode

src/algorithm/base.cpp:280–290  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

278}
279
280int Base :: BroadcastMessageToTempNode(const PaxosMsg & oPaxosMsg, const int iSendType)
281{
282 string sBuffer;
283 int ret = PackMsg(oPaxosMsg, sBuffer);
284 if (ret != 0)
285 {
286 return ret;
287 }
288
289 return m_poMsgTransport->BroadcastMessageTempNode(m_poConfig->GetMyGroupIdx(), sBuffer, iSendType);
290}
291
292///////////////////////////
293

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected