C# Class openXDA.ServiceHub

Inheritance: Microsoft.AspNet.SignalR.Hub
Afficher le fichier Open project: GridProtectionAlliance/openXDA

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

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

public ServiceHub ( ) : System
Résultat System