Inheritance: Microsoft.AspNet.SignalR.Hub
Example #1
0
 /// <summary>
 /// Writes out a message to the SignalR hub
 /// </summary>
 /// <param name="queueItem"></param>
 /// <param name="elapsed"></param>
 /// <param name="waiting"></param>
 public virtual void WriteMessage(QueueMessageItem queueItem, int elapsed = 0, int waiting = -1)
 {
     // forward to SignalR Hub broadcast
     QueueMonitorServiceHub.WriteMessage(queueItem, elapsed, waiting);
 }
Example #2
0
 /// <summary>
 /// Writes out a message to the SignalR hub
 /// </summary>
 /// <param name="message"></param>
 public virtual void WriteMessage(string message)
 {
     // forward to SignalR Hub broadcast
     QueueMonitorServiceHub.WriteMessage(message);
 }