Méthode | Description | |
---|---|---|
Initialize ( ) : void |
Initializes InputAdapterBase.
|
|
Start ( ) : void |
Starts this InputAdapterBase and initiates connection cycle to data input source.
|
|
Stop ( ) : void |
Stops this InputAdapterBase and disconnects from data input source.
|
Méthode | Description | |
---|---|---|
AttemptConnection ( ) : void |
Attempts to connect to data input source. Derived classes should attempt connection to data input source here. Any exceptions thrown by this implementation will result in restart of the connection cycle. |
|
AttemptDisconnection ( ) : void |
Attempts to disconnect from data input source. Derived classes should attempt disconnect from data input source here. Any exceptions thrown by this implementation will be reported to host via AdapterBase.ProcessException event. |
|
Dispose ( bool disposing ) : void |
Releases the unmanaged resources used by the InputAdapterBase object and optionally releases the managed resources.
|
|
InputAdapterBase ( ) : System |
Constructs a new instance of the InputAdapterBase.
|
|
OnConnected ( ) : void |
Called when data input source connection is established. Derived classes should call this method manually if UseAsyncConnect is |
|
OnDisconnected ( ) : void |
Called when data input source is disconnected. Derived classes should call this method manually if UseAsyncConnect is |
|
OnNewMeasurements ( ICollection |
Raises the NewMeasurements event.
|
|
OnProcessingComplete ( ) : void |
Raises the ProcessingComplete event.
|
Méthode | Description | |
---|---|---|
AttemptConnectionOperation ( ) : void | ||
m_connectionTimer_Elapsed ( object sender, EventArgs |
protected abstract AttemptConnection ( ) : void | ||
Résultat | void |
protected abstract AttemptDisconnection ( ) : void | ||
Résultat | void |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true to release both managed and unmanaged resources; false to release only unmanaged resources. |
Résultat | void |
protected OnNewMeasurements ( ICollection |
||
measurements | ICollection |
|
Résultat | void |