Beispiel #1
0
 public ClientMessage(BestHTTP.SignalR.Hubs.Hub hub, string method, object[] args, ulong callIdx, OnMethodResultDelegate resultCallback, OnMethodFailedDelegate resultErrorCallback, OnMethodProgressDelegate progressCallback)
 {
     this.Hub                 = hub;
     this.Method              = method;
     this.Args                = args;
     this.CallIdx             = callIdx;
     this.ResultCallback      = resultCallback;
     this.ResultErrorCallback = resultErrorCallback;
     this.ProgressCallback    = progressCallback;
 }
        public ClientMessage(Hub hub,
                             string method, 
                             object[] args, 
                             UInt64 callIdx, 
                             OnMethodResultDelegate resultCallback,
                             OnMethodFailedDelegate resultErrorCallback, 
                             OnMethodProgressDelegate progressCallback)
        {
            Hub = hub;
            Method = method;
            Args = args;

            CallIdx = callIdx;

            ResultCallback = resultCallback;
            ResultErrorCallback = resultErrorCallback;
            ProgressCallback = progressCallback;
        }