public bool Ping(Int32 aPid, string aMsg) { _hasPinged = true; if (aMsg.Length > 0) { VibrationPingMessageReceived?.Invoke(this, aMsg); } return(!_shouldStop); }
public bool Ping(Int32 aPid, string aMsg) { if (aMsg.Length > 0) { VibrationLogMessageReceived?.Invoke(this, aMsg); return(!_shouldStop); } VibrationPingMessageReceived?.Invoke(this, EventArgs.Empty); return(!_shouldStop); }