예제 #1
0
 public void Reconnect()
 {
     if (sourceStream != null)
     {
         sourceStream.Reconnect();
     }
 }
예제 #2
0
 public void Reconnect()
 {
     if (IsSourceConnected())
     {
         WriteLock(() => {
             sourceStream.Reconnect();
         });
     }
     else
     {
         var source_uri = this.SourceUri;
         if (source_uri != null)
         {
             Start(source_uri);
         }
     }
 }