Example #1
0
 /// <summary>
 /// Start logic
 /// </summary>
 public bool Start()
 {
     Stop();
     _State             = EFuzzerState.Started;
     _Socket            = TuringSocket.Bind(Listen);
     _Socket.OnMessage += _Socket_OnMessage;
     return(true);
 }
Example #2
0
 /// <summary>
 /// Stop logic
 /// </summary>
 public bool Stop()
 {
     _State  = EFuzzerState.Stopped;
     _Paused = false;
     if (_Socket != null)
     {
         _Socket.Dispose();
         _Socket = null;
     }
     return(true);
 }
Example #3
0
 /// <summary>
 /// Pause logic
 /// </summary>
 public bool Pause()
 {
     _State  = EFuzzerState.Paused;
     _Paused = !_Paused;
     return(true);
 }