C# 클래스 openHistorian.ServiceHub

Represents a SignalR hub for interaction with the service.
상속: Microsoft.AspNet.SignalR.Hub, IServiceConnectionOperations
파일 보기 프로젝트 열기: GridProtectionAlliance/openHistorian

공개 메소드들

메소드 설명
GetPerformanceStatistics ( ) : string

Gets current performance statistics for service.

GetServerTime ( ) : System.DateTime

Gets the current server time.

OnConnected ( ) : System.Threading.Tasks.Task
OnDisconnected ( bool stopCalled ) : System.Threading.Tasks.Task
SendCommand ( string command ) : void

Sends a service command.

ServiceHub ( ) : System

Creates a new ServiceHub instance.

메소드 상세

GetPerformanceStatistics() 공개 메소드

Gets current performance statistics for service.
public GetPerformanceStatistics ( ) : string
리턴 string

GetServerTime() 공개 메소드

Gets the current server time.
public GetServerTime ( ) : System.DateTime
리턴 System.DateTime

OnConnected() 공개 메소드

public OnConnected ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

OnDisconnected() 공개 메소드

public OnDisconnected ( bool stopCalled ) : System.Threading.Tasks.Task
stopCalled bool
리턴 System.Threading.Tasks.Task

SendCommand() 공개 메소드

Sends a service command.
public SendCommand ( string command ) : void
command string Command string.
리턴 void

ServiceHub() 공개 메소드

Creates a new ServiceHub instance.
public ServiceHub ( ) : System
리턴 System