Example #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 )));
     }
 }
Example #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)));
     }
 }
 public void StopSignalling(Action<string> callback)
 {
     Signalling.Stop(callback);
     Signalling = null;
 }
 public void StartSignalling(Action<string> callback)
 {
     Signalling = new Signalling(WebSyncServerUrl);
     Signalling.Start(callback);
 }
Example #5
0
 public void StopSignalling(Action <string> callback)
 {
     Signalling.Stop(callback);
     Signalling = null;
 }
Example #6
0
 public void StartSignalling(Action <string> callback)
 {
     Signalling = new Signalling(WebSyncServerUrl);
     Signalling.Start(callback);
 }