C# 클래스 Systemic.Sif.Framework.Agent.SubscribingAgent

A subscribing Agent that runs based upon settings from a pre-defined SIFWorks ADK configuration file.
상속: Systemic.Sif.Framework.Agent.BaseAgent, ISubscribingAgent
파일 보기 프로젝트 열기: nsip/SifCommonFramework-dotNet

공개 메소드들

메소드 설명
GetSubscribers ( ) : IList

This method returns the Subscribers used by this Agent.

Run ( ) : void

This method will run the SIF Agent and Unsubscribe on shut down. Only the first call to this method will be recognised; subsequent calls will be ignored.

SubscribingAgent ( ) : System

This constructor will create a subscribing Agent using the default "agent.cfg" file. If this configuration file does not exist, the Agent will not run when called.

SubscribingAgent ( String cfgFileName ) : System

This constructor defines the configuration file associated with this Agent.

보호된 메소드들

메소드 설명
StartAgent ( ) : void

Connect to the Zones and configure the Subscribers.

메소드 상세

GetSubscribers() 공개 메소드

This method returns the Subscribers used by this Agent.
public GetSubscribers ( ) : IList
리턴 IList

Run() 공개 메소드

This method will run the SIF Agent and Unsubscribe on shut down. Only the first call to this method will be recognised; subsequent calls will be ignored.
public Run ( ) : void
리턴 void

StartAgent() 보호된 메소드

Connect to the Zones and configure the Subscribers.
The Agent has not been initialised first. The Agent was unable to connect to a Zone, or there is an error with the event processing for a Subscriber.
protected StartAgent ( ) : void
리턴 void

SubscribingAgent() 공개 메소드

This constructor will create a subscribing Agent using the default "agent.cfg" file. If this configuration file does not exist, the Agent will not run when called.
public SubscribingAgent ( ) : System
리턴 System

SubscribingAgent() 공개 메소드

This constructor defines the configuration file associated with this Agent.
public SubscribingAgent ( String cfgFileName ) : System
cfgFileName String Configuration file associated with this Agent. If not provided, assumes "agent.cfg".
리턴 System