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

Method InitStateMachine

src/node/pnode.cpp:188–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186}
187
188void PNode :: InitStateMachine(const Options & oOptions)
189{
190 for (auto & oGroupSMInfo : oOptions.vecGroupSMInfoList)
191 {
192 for (auto & poSM : oGroupSMInfo.vecSMList)
193 {
194 AddStateMachine(oGroupSMInfo.iGroupIdx, poSM);
195 }
196 }
197}
198
199void PNode :: RunMaster(const Options & oOptions)
200{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected