public void Reconnect() { if (sourceStream != null) { sourceStream.Reconnect(); } }
public void Reconnect() { if (IsSourceConnected()) { WriteLock(() => { sourceStream.Reconnect(); }); } else { var source_uri = this.SourceUri; if (source_uri != null) { Start(source_uri); } } }