internal static NodeCommandState FromBytes(BinaryReader br, ActionType type) { NodeCommandState state = new NodeCommandState(type); // Note: the type of command (an Enum serialized as Int32) was already read by caller state.Read(br); return(state); }
// test only internal override bool VerifyEquals(ActionStateBase other) { NodeCommandState state = other as NodeCommandState; if (state == null) { return(false); } if (!base.VerifyEquals(other)) { return(false); } return(this.Info.VerifyEquals(state.Info)); }
public StopNodeFromFASAction(IReliableStateManager stateManager, IStatefulServicePartition partition, NodeCommandState state, IReliableDictionary <string, bool> stoppedNodeTable, TimeSpan requestTimeout, TimeSpan operationTimeout) : base(stateManager, partition, state, requestTimeout, operationTimeout) { this.StoppedNodeTable = stoppedNodeTable; }