C# Class PBCaGw.Gateway

Base class for the gateway. This is the class to instantiate to create a gateway.
Inheritance: IDisposable
显示文件 Open project: ISISComputingGroup/EPICS-epicssharp Class Usage Examples

Private Properties

Property Type Description
DoClientConnectedChannels void
DoDropClient void
DoDropIoc void
DoIocConnectedChannels void
Gateway System
RunBgJobs void
StartGateway void
StopGateway void

Public Methods

Method 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

Method 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 method

public Dispose ( ) : void
return void

LoadConfig() public method

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
return void

SaveConfig() public method

Saves teh configuration in the gateway.xml file
public SaveConfig ( ) : void
return void

Start() public method

Starts the gateway
public Start ( ) : void
return void

StoreKnownChannels() public method

public StoreKnownChannels ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void