C# Класс openHistorian.ServiceHub

Represents a SignalR hub for interaction with the service.
Наследование: Microsoft.AspNet.SignalR.Hub, IServiceConnectionOperations
Показать файл Открыть проект

Открытые методы

Метод Описание
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