Пример #1
0
 public void StartSignalling(Action<Exception> callback)
 {
     if (signalling == null)
     {
         signalling = new Signalling(WebSyncServerUrl);
         signalling.Start(callback);
     }
     else
     {
         callback(new Exception(string.Format("Error starting signalling. {0}", Signalling.LastStartException.Message )));
     }
 }
Пример #2
0
 public void StartSignalling(Action <Exception> callback)
 {
     if (signalling == null)
     {
         signalling = new Signalling(WebSyncServerUrl);
         signalling.Start(callback);
     }
     else
     {
         callback(new Exception(string.Format("Error starting signalling. {0}", Signalling.LastStartException.Message)));
     }
 }
Пример #3
0
 public void StopSignalling(Action<string> callback)
 {
     Signalling.Stop(callback);
     Signalling = null;
 }
Пример #4
0
 public void StartSignalling(Action<string> callback)
 {
     Signalling = new Signalling(WebSyncServerUrl);
     Signalling.Start(callback);
 }
Пример #5
0
 public void StopSignalling(Action <string> callback)
 {
     Signalling.Stop(callback);
     Signalling = null;
 }
Пример #6
0
 public void StartSignalling(Action <string> callback)
 {
     Signalling = new Signalling(WebSyncServerUrl);
     Signalling.Start(callback);
 }