C# Class PBCaGw.Gateway

Base class for the gateway. This is the class to instantiate to create a gateway.
Inheritance: IDisposable
Afficher le fichier Open project: ISISComputingGroup/EPICS-epicssharp Class Usage Examples

Private Properties

Свойство Type Description
DoClientConnectedChannels void
DoDropClient void
DoDropIoc void
DoIocConnectedChannels void
Gateway System
RunBgJobs void
StartGateway void
StopGateway void

Méthodes publiques

Méthode Description
Dispose ( ) : void
LoadConfig ( ) : void

Loads the configuration either from an URL or from the gateway.xml file The URL is the mix of configuration keys configURL and gatewayName

SaveConfig ( ) : void

Saves teh configuration in the gateway.xml file

Start ( ) : void

Starts the gateway

StoreKnownChannels ( object sender, EventArgs e ) : void

Private Methods

Méthode Description
DoClientConnectedChannels ( string client, string newItem ) : void
DoDropClient ( string client ) : void
DoDropIoc ( string server ) : void
DoIocConnectedChannels ( string server, string newItem ) : void
Gateway ( ) : System

Starts the scheduler

RunBgJobs ( ) : void

Fires the events at the right frequency. The timings are not precises.

StartGateway ( ) : void
StopGateway ( ) : void

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

LoadConfig() public méthode

Loads the configuration either from an URL or from the gateway.xml file The URL is the mix of configuration keys configURL and gatewayName
public LoadConfig ( ) : void
Résultat void

SaveConfig() public méthode

Saves teh configuration in the gateway.xml file
public SaveConfig ( ) : void
Résultat void

Start() public méthode

Starts the gateway
public Start ( ) : void
Résultat void

StoreKnownChannels() public méthode

public StoreKnownChannels ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void