C# Класс PBCaGw.Gateway

Base class for the gateway. This is the class to instantiate to create a gateway.
Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
DoClientConnectedChannels void
DoDropClient void
DoDropIoc void
DoIocConnectedChannels void
Gateway System
RunBgJobs void
StartGateway void
StopGateway void

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

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

Приватные методы

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

Описание методов

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

LoadConfig() публичный Метод

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
Результат void

SaveConfig() публичный Метод

Saves teh configuration in the gateway.xml file
public SaveConfig ( ) : void
Результат void

Start() публичный Метод

Starts the gateway
public Start ( ) : void
Результат void

StoreKnownChannels() публичный Метод

public StoreKnownChannels ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void