Method | 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.
|
Method | 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.
|
Method | Description | |
---|---|---|
AttemptConnectionOperation ( ) : void | ||
m_connectionTimer_Elapsed ( object sender, EventArgs |
protected abstract AttemptConnection ( ) : void | ||
return | void |
protected abstract AttemptDisconnection ( ) : void | ||
return | void |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true to release both managed and unmanaged resources; false to release only unmanaged resources. |
return | void |
protected OnNewMeasurements ( ICollection |
||
measurements | ICollection |
|
return | void |