public interface IServiceConnector
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Called to close the previously initialize record source.
|
IMonitoringRecord |
deserializeNextRecord()
The deserialize method reads source data and returns an
IMonitoringRecord. |
void |
initialize()
Called to initialize the channel to read record information.
|
IMonitoringRecord deserializeNextRecord() throws ConnectorDataTransmissionException, ConnectorEndOfDataException
IMonitoringRecord.IMonitoringRecord or null on read error or end of line.ConnectorDataTransmissionException - if a read error or an unknown record id occursConnectorEndOfDataException - if the transmission is terminated or otherwise signaled that the last record has been received.void initialize()
throws ConnectorDataTransmissionException
ConnectorDataTransmissionException - when an error occurred setting up the record source.void close()
throws ConnectorDataTransmissionException
ConnectorDataTransmissionException - when an error occurred during connection close.Copyright 2017 Kieker Project, http://kieker-monitoring.net