public static void TryStop(string pathName) { NurseryManager.Send(new OperationStruct { type = OperationType.Stop, pathName = pathName }); }
public static void SetFlushTime(int span) { NurseryManager.Send(new ConfigStruct { type = ConfigType.FlushTime, flushTime = span }); }
public static void TryStart(string pathName, string args) { NurseryManager.Send(new OperationStruct { type = OperationType.Start, pathName = pathName, args = args }); }
public static void TryRemove(string pathName) { ConfirmRemove(pathName); NurseryManager.Send(new OperationStruct { type = OperationType.Remove, pathName = pathName }); }