C# Class openHistorian.ServiceHub

Represents a SignalR hub for interaction with the service.
Inheritance: Microsoft.AspNet.SignalR.Hub, IServiceConnectionOperations
Afficher le fichier Open project: GridProtectionAlliance/openHistorian

Méthodes publiques

Méthode Description
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.

Method Details

GetPerformanceStatistics() public méthode

Gets current performance statistics for service.
public GetPerformanceStatistics ( ) : string
Résultat string

GetServerTime() public méthode

Gets the current server time.
public GetServerTime ( ) : System.DateTime
Résultat System.DateTime

OnConnected() public méthode

public OnConnected ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

OnDisconnected() public méthode

public OnDisconnected ( bool stopCalled ) : System.Threading.Tasks.Task
stopCalled bool
Résultat System.Threading.Tasks.Task

SendCommand() public méthode

Sends a service command.
public SendCommand ( string command ) : void
command string Command string.
Résultat void

ServiceHub() public méthode

Creates a new ServiceHub instance.
public ServiceHub ( ) : System
Résultat System