Esempio n. 1
0
 private void Error(OnErrorArgs args)
 {
     if (this.OnError != null)
         this.OnError.Invoke(this, args);
     this.XSocketClient.FireError(args);
 }
 public virtual void FireError(OnErrorArgs args)
 {
     if (this.OnError != null) this.OnError.Invoke(this, args);
 }
Esempio n. 3
0
 private void Error(IMessage error)
 {
     var err = new OnErrorArgs(this.XSocketClient.Serializer.DeserializeFromString<Exception>(error.Data));
     this.Error(err);
 }