C# Class openHistorian.ServiceConnectionHubClient

Represents a client instance of a ServiceHub for a remote console connection.
Inheritance: GSF.Web.Hubs.HubClientBase
Show file Open project: GridProtectionAlliance/openHistorian

Public Methods

Method Description
SendCommand ( string command ) : void

Sends a service command.

ServiceConnectionHubClient ( ) : System

Creates a new ServiceConnectionHubClient instance.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Releases the unmanaged resources used by the ServiceConnectionHubClient object and optionally releases the managed resources.

Private Methods

Method Description
BroadcastMessage ( string message, string color ) : void
m_serviceHost_UpdatedStatus ( object sender, EventArgs e ) : void

Method Details

Dispose() protected method

Releases the unmanaged resources used by the ServiceConnectionHubClient object and optionally releases the managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
return void

SendCommand() public method

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

ServiceConnectionHubClient() public method

Creates a new ServiceConnectionHubClient instance.
public ServiceConnectionHubClient ( ) : System
return System