Method | Description | |
---|---|---|
InitializeServiceHelper ( ) : void |
Initializes the service helper.
|
|
ServiceHostBase ( ) : System |
Creates a new ServiceHostBase.
|
|
ServiceHostBase ( IContainer container ) : System |
Creates a new ServiceHostBase from specified parameters.
|
Method | Description | |
---|---|---|
ActionRequestHandler ( GSF.ServiceProcess.ClientRequestInfo requestInfo, Action |
Generic adapter request handler.
|
|
AuthenticateRequestHandler ( GSF.ServiceProcess.ClientRequestInfo requestInfo ) : void |
Attempts to authenticate or re-authenticate to network shares.
|
|
CacheCurrentConfiguration ( |
Caches the current system configuration. This method allows caching of the current system configuration so it can be used if primary configuration source is unavailable. |
|
DisplayResponseMessage ( GSF.ServiceProcess.ClientRequestInfo requestInfo, string status ) : void |
Displays a response message to client requester.
|
|
DisplayStatusMessage ( string status, UpdateType type ) : void |
Displays a broadcast message to all subscribed clients.
|
|
DisplayStatusMessage ( string status, UpdateType type, bool publishToLog ) : void |
Displays a broadcast message to all subscribed clients.
|
|
Dispose ( bool disposing ) : void |
Releases the unmanaged resources used by the ServiceHostBase object and optionally releases the managed resources.
|
|
GetRequestedAdapter ( GSF.ServiceProcess.ClientRequestInfo requestInfo ) : IAdapter |
Gets requested IAdapter.
|
|
GetRequestedAdapter ( GSF.ServiceProcess.ClientRequestInfo requestInfo, IAdapterCollection &collection ) : IAdapter |
Gets requested IAdapter and its containing IAdapterCollection.
|
|
GetRequestedCollection ( GSF.ServiceProcess.ClientRequestInfo requestInfo ) : IAdapterCollection |
Gets requested IAdapterCollection.
|
|
HealthMonitorProcessHandler ( string name, object parameters ) : void |
Event handler for scheduled health monitor display.
|
|
InitializeRequestHandler ( GSF.ServiceProcess.ClientRequestInfo requestInfo ) : void |
Performs initialization or reinitialization of specified adapter or collection.
|
|
InvokeRequestHandler ( GSF.ServiceProcess.ClientRequestInfo requestInfo ) : void |
Invokes specified adapter command.
|
|
ListCommandsRequestHandler ( GSF.ServiceProcess.ClientRequestInfo requestInfo ) : void |
Lists possible commands of specified adapter.
|
|
ListRequestHandler ( GSF.ServiceProcess.ClientRequestInfo requestInfo ) : void |
Displays status of specified adapter or collection.
|
|
LogEventRequestHandler ( GSF.ServiceProcess.ClientRequestInfo requestInfo ) : void |
Sends remote entry for logging.
|
|
LogException ( |
Logs an exception to the service helper GSF.ErrorManagement.ErrorLogger.
|
|
LogExceptionHandler ( object sender, EventArgs |
Event handler for processing exceptions encountered while writing entries to a log file.
|
|
OnContinue ( ) : void |
Handles service continue event.
|
|
OnPause ( ) : void |
Handles service pause event.
|
|
OnShutdown ( ) : void |
Handles service shut down event.
|
|
OnStart ( string args ) : void |
Handles service start event.
|
|
OnStop ( ) : void |
Handles service stop event.
|
|
RefreshRoutesRequestHandler ( GSF.ServiceProcess.ClientRequestInfo requestInfo ) : void |
Recalculates routing tables.
|
|
ReloadConfigRequestHandler ( GSF.ServiceProcess.ClientRequestInfo requestInfo ) : void |
Manually reloads system configuration.
|
|
ReportingProcessHandler ( string name, object parameters ) : void |
Event handler for scheduled reporting services.
|
|
RestartServiceHandler ( GSF.ServiceProcess.ClientRequestInfo requestInfo ) : void |
Attempts to restart the hose service.
|
|
SendResponse ( GSF.ServiceProcess.ClientRequestInfo requestInfo, bool success ) : void |
Sends an actionable response to client.
|
|
SendResponse ( GSF.ServiceProcess.ClientRequestInfo requestInfo, bool success, string status ) : void |
Sends an actionable response to client with a formatted message.
|
|
SendResponseWithAttachment ( GSF.ServiceProcess.ClientRequestInfo requestInfo, bool success, object attachment, string status ) : void |
Sends an actionable response to client with a formatted message and attachment.
|
|
ServiceStartedHandler ( object sender, |
Event handler for service started operation. Time-series framework uses this handler to handle initialization of system objects. |
|
ServiceStartingHandler ( object sender, EventArgs |
Event handler for service starting operations. Time-series framework uses this handler to load settings from configuration file as service is starting. |
|
ServiceStoppingHandler ( object sender, |
Event handler for service stopping operation. Time-series framework uses this handler to un-wire events and dispose of system objects. |
|
StartRequestHandler ( GSF.ServiceProcess.ClientRequestInfo requestInfo ) : void |
Starts specified adapter.
|
|
StatusExportProcessHandler ( string name, object parameters ) : void |
Event handler for scheduled adapter status export.
|
|
StopRequestHandler ( GSF.ServiceProcess.ClientRequestInfo requestInfo ) : void |
Stops specified adapter.
|
|
TemporalSupportRequestHandler ( GSF.ServiceProcess.ClientRequestInfo requestInfo ) : void |
Determines support for temporal processing from existing adapters.
|
|
UpdateConfigFileRequestHandler ( GSF.ServiceProcess.ClientRequestInfo requestInfo ) : void |
Updates an option in the configuration file.
|
Method | Description | |
---|---|---|
AugmentConfigurationDataSet ( |
||
BackupConfiguration ( ConfigurationType configType, string configurationFile ) : void | ||
ConfigurationChangedHandler ( object sender, |
Event handler for processing notifications from adapters that configuration has changed. The time-series framework IaonSession uses this event to report configuration changes. |
|
ConfigurationLoader_ProcessException ( object sender, EventArgs |
||
ExecuteConfigurationCache ( ) : void | ||
ExecuteReloadConfig ( Tuple |
||
GenerateLocalCertificate ( ) : void | ||
GenerateReportRequestHandler ( GSF.ServiceProcess.ClientRequestInfo requestInfo ) : void | ||
GetBinaryCachedConfigurationDataSet ( ) : |
||
GetConfigurationDataSet ( ) : |
||
GetReloadConfigType ( GSF.ServiceProcess.ClientRequestInfo requestInfo ) : string | ||
GetReportRequestHandler ( GSF.ServiceProcess.ClientRequestInfo requestInfo ) : void | ||
GetReportStatusRequestHandler ( GSF.ServiceProcess.ClientRequestInfo requestInfo ) : void | ||
GetXMLCachedConfigurationDataSet ( ) : |
||
HandleInitializeRequest ( GSF.ServiceProcess.ClientRequestInfo requestInfo ) : void | ||
InitializeSystem ( ) : void | ||
InitializeTcpServer ( ) : GSF.Communication.TcpServer | ||
InitializeTlsServer ( ) : |
||
ListReportsRequestHandler ( GSF.ServiceProcess.ClientRequestInfo requestInfo ) : void | ||
LoadStartupConfiguration ( ) : bool | ||
LoadSystemConfiguration ( ) : bool | ||
LoggedExceptionHandler ( object sender, EventArgs |
||
ProcessExceptionHandler ( object sender, EventArgs |
Event handler for processing reported exceptions. The time-series framework IaonSession uses this event to report exceptions. |
|
PropagateDataSource ( |
||
ReportingConfigRequestHandler ( GSF.ServiceProcess.ClientRequestInfo requestInfo ) : void | ||
RequestedAdapterExists ( GSF.ServiceProcess.ClientRequestInfo requestInfo ) : bool |
Determines whether the requested adapter exists.
|
|
SendRequest ( System.Guid clientID, string userInput ) : void | ||
StartHostedService ( ) : void | ||
StatusMessageHandler ( object sender, UpdateType>.EventArgs |
Event handler for reporting status messages. The time-series framework IaonSession uses this event to report adapter status messages (e.g., to a log file or console window). |
|
StopHostedService ( ) : void | ||
TaskScheduler_UnobservedTaskException ( object sender, System.Threading.Tasks.UnobservedTaskExceptionEventArgs e ) : void | ||
UpdatedStatusHandler ( object sender, EventArgs |
protected ActionRequestHandler ( GSF.ServiceProcess.ClientRequestInfo requestInfo, Action |
||
requestInfo | GSF.ServiceProcess.ClientRequestInfo | |
adapterAction | Action |
Action to perform on |
return | void |
protected AuthenticateRequestHandler ( GSF.ServiceProcess.ClientRequestInfo requestInfo ) : void | ||
requestInfo | GSF.ServiceProcess.ClientRequestInfo | |
return | void |
protected CacheCurrentConfiguration ( |
||
configuration | Configuration |
|
return | void |
protected DisplayResponseMessage ( GSF.ServiceProcess.ClientRequestInfo requestInfo, string status ) : void | ||
requestInfo | GSF.ServiceProcess.ClientRequestInfo | |
status | string | Formatted status message to send to client. |
return | void |
protected DisplayStatusMessage ( string status, UpdateType type ) : void | ||
status | string | Status message to send to all clients. |
type | UpdateType | |
return | void |
protected DisplayStatusMessage ( string status, UpdateType type, bool publishToLog ) : void | ||
status | string | Status message to send to all clients. |
type | UpdateType | |
publishToLog | bool | Determines if messages should be sent logging engine. |
return | void |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true to release both managed and unmanaged resources; false to release only unmanaged resources. |
return | void |
protected GetRequestedAdapter ( GSF.ServiceProcess.ClientRequestInfo requestInfo ) : IAdapter | ||
requestInfo | GSF.ServiceProcess.ClientRequestInfo | |
return | IAdapter |
protected GetRequestedAdapter ( GSF.ServiceProcess.ClientRequestInfo requestInfo, IAdapterCollection &collection ) : IAdapter | ||
requestInfo | GSF.ServiceProcess.ClientRequestInfo | |
collection | IAdapterCollection | Containing |
return | IAdapter |
protected GetRequestedCollection ( GSF.ServiceProcess.ClientRequestInfo requestInfo ) : IAdapterCollection | ||
requestInfo | GSF.ServiceProcess.ClientRequestInfo | |
return | IAdapterCollection |
protected HealthMonitorProcessHandler ( string name, object parameters ) : void | ||
name | string | Scheduled event name. |
parameters | object | Scheduled event parameters. |
return | void |
protected InitializeRequestHandler ( GSF.ServiceProcess.ClientRequestInfo requestInfo ) : void | ||
requestInfo | GSF.ServiceProcess.ClientRequestInfo | |
return | void |
protected InvokeRequestHandler ( GSF.ServiceProcess.ClientRequestInfo requestInfo ) : void | ||
requestInfo | GSF.ServiceProcess.ClientRequestInfo | |
return | void |
protected ListCommandsRequestHandler ( GSF.ServiceProcess.ClientRequestInfo requestInfo ) : void | ||
requestInfo | GSF.ServiceProcess.ClientRequestInfo | |
return | void |
protected ListRequestHandler ( GSF.ServiceProcess.ClientRequestInfo requestInfo ) : void | ||
requestInfo | GSF.ServiceProcess.ClientRequestInfo | |
return | void |
protected LogEventRequestHandler ( GSF.ServiceProcess.ClientRequestInfo requestInfo ) : void | ||
requestInfo | GSF.ServiceProcess.ClientRequestInfo | |
return | void |
protected LogException ( |
||
ex | ||
return | void |
protected LogExceptionHandler ( object sender, EventArgs |
||
sender | object | Event source of the exception. |
e | EventArgs |
Event arguments containing the exception to report. |
return | void |
protected OnStart ( string args ) : void | ||
args | string | Service startup arguments, if any. |
return | void |
protected RefreshRoutesRequestHandler ( GSF.ServiceProcess.ClientRequestInfo requestInfo ) : void | ||
requestInfo | GSF.ServiceProcess.ClientRequestInfo | |
return | void |
protected ReloadConfigRequestHandler ( GSF.ServiceProcess.ClientRequestInfo requestInfo ) : void | ||
requestInfo | GSF.ServiceProcess.ClientRequestInfo | |
return | void |
protected ReportingProcessHandler ( string name, object parameters ) : void | ||
name | string | Scheduled event name. |
parameters | object | Scheduled event parameters. |
return | void |
protected RestartServiceHandler ( GSF.ServiceProcess.ClientRequestInfo requestInfo ) : void | ||
requestInfo | GSF.ServiceProcess.ClientRequestInfo | |
return | void |
protected SendResponse ( GSF.ServiceProcess.ClientRequestInfo requestInfo, bool success ) : void | ||
requestInfo | GSF.ServiceProcess.ClientRequestInfo | |
success | bool | Flag that determines if this response to client request was a success. |
return | void |
protected SendResponse ( GSF.ServiceProcess.ClientRequestInfo requestInfo, bool success, string status ) : void | ||
requestInfo | GSF.ServiceProcess.ClientRequestInfo | |
success | bool | Flag that determines if this response to client request was a success. |
status | string | Formatted status message to send with response. |
return | void |
protected SendResponseWithAttachment ( GSF.ServiceProcess.ClientRequestInfo requestInfo, bool success, object attachment, string status ) : void | ||
requestInfo | GSF.ServiceProcess.ClientRequestInfo | |
success | bool | Flag that determines if this response to client request was a success. |
attachment | object | Attachment to send with response. |
status | string | Formatted status message to send with response. |
return | void |
public ServiceHostBase ( IContainer container ) : System | ||
container | IContainer | Service host |
return | System |
protected ServiceStartedHandler ( object sender, |
||
sender | object | Event source. |
e | Event arguments. | |
return | void |
protected ServiceStartingHandler ( object sender, EventArgs |
||
sender | object | Event source. |
e | EventArgs |
Event arguments containing command line arguments passed into service at startup. |
return | void |
protected ServiceStoppingHandler ( object sender, |
||
sender | object | Event source. |
e | Event arguments. | |
return | void |
protected StartRequestHandler ( GSF.ServiceProcess.ClientRequestInfo requestInfo ) : void | ||
requestInfo | GSF.ServiceProcess.ClientRequestInfo | |
return | void |
protected StatusExportProcessHandler ( string name, object parameters ) : void | ||
name | string | Scheduled event name. |
parameters | object | Scheduled event parameters. |
return | void |
protected StopRequestHandler ( GSF.ServiceProcess.ClientRequestInfo requestInfo ) : void | ||
requestInfo | GSF.ServiceProcess.ClientRequestInfo | |
return | void |
protected TemporalSupportRequestHandler ( GSF.ServiceProcess.ClientRequestInfo requestInfo ) : void | ||
requestInfo | GSF.ServiceProcess.ClientRequestInfo | |
return | void |
protected UpdateConfigFileRequestHandler ( GSF.ServiceProcess.ClientRequestInfo requestInfo ) : void | ||
requestInfo | GSF.ServiceProcess.ClientRequestInfo | |
return | void |