/// <summary> /// Initiates the stopping process /// </summary> /// <returns>If it successfully initiated the stopping process</returns> public bool RequestStopNode(bool silent = false) { if (this.State == NodeState.ACTIVE) { this.State = NodeState.STOPPING; if (!silent) { OnStopping.Invoke(); } else { OnStoppingSilent.Invoke(); } return(true); } return(false); }