C# 클래스 Westwind.MessageQueueing.Service.QueueMonitorServiceHub

상속: Microsoft.AspNet.SignalR.Hub
파일 보기 프로젝트 열기: RickStrahl/Westwind.QueueMessageManager 1 사용 예제들

공개 메소드들

메소드 설명
GetServiceStatus ( ) : void
GetWaitingQueueMessageCount ( ) : void
StartService ( ) : void

Starts the service

StatusMessage ( string message, bool allClients = false ) : void

Writes a message to the client that displays on the status bar

StopService ( ) : void
ThrowException ( string message ) : void

Throws an exception from server to client On client handle with self.hub.server.updateServiceStatus(status).fail(function(err){});

UpdateServiceStatus ( QueueControllerStatus status ) : void
WriteMessage ( QueueMessageItem queueItem, int elapsed, int waiting = -1 ) : void

Writes out a message to all SignalR clients

WriteMessage ( string message ) : void

Writes out message to all connected SignalR clients

메소드 상세

GetServiceStatus() 공개 메소드

public GetServiceStatus ( ) : void
리턴 void

GetWaitingQueueMessageCount() 공개 메소드

public GetWaitingQueueMessageCount ( ) : void
리턴 void

StartService() 공개 메소드

Starts the service
public StartService ( ) : void
리턴 void

StatusMessage() 공개 메소드

Writes a message to the client that displays on the status bar
public StatusMessage ( string message, bool allClients = false ) : void
message string
allClients bool
리턴 void

StopService() 공개 메소드

public StopService ( ) : void
리턴 void

ThrowException() 공개 메소드

Throws an exception from server to client On client handle with self.hub.server.updateServiceStatus(status).fail(function(err){});
public ThrowException ( string message ) : void
message string
리턴 void

UpdateServiceStatus() 공개 메소드

public UpdateServiceStatus ( QueueControllerStatus status ) : void
status QueueControllerStatus
리턴 void

WriteMessage() 공개 정적인 메소드

Writes out a message to all SignalR clients
public static WriteMessage ( QueueMessageItem queueItem, int elapsed, int waiting = -1 ) : void
queueItem Westwind.MessageQueueing.QueueMessageItem
elapsed int
waiting int
리턴 void

WriteMessage() 공개 정적인 메소드

Writes out message to all connected SignalR clients
public static WriteMessage ( string message ) : void
message string
리턴 void