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