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

Method AddStateMachine

src/node/pnode.cpp:395–401  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

393}
394
395void PNode :: AddStateMachine(StateMachine * poSM)
396{
397 for (auto & poGroup : m_vecGroupList)
398 {
399 poGroup->AddStateMachine(poSM);
400 }
401}
402
403void PNode :: AddStateMachine(const int iGroupIdx, StateMachine * poSM)
404{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected