public class MonitoringAcquisition extends Object implements AcquisitionHandler
Modifier and Type | Field and Description |
---|---|
private Vector<MonitoringElement> |
elements
The various elements to monitor.
|
Constructor and Description |
---|
MonitoringAcquisition() |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes this handler and releases any system resources associated to it.
|
void |
retrieve(ReliableTransmitter transmitter)
Retrieves one or more message from an external source (e-mail, ftp, ...).
|
void |
setProperties(Properties properties)
Configures the handler with the given properties.
|
private Vector<MonitoringElement> elements
public void retrieve(ReliableTransmitter transmitter) throws Exception
AcquisitionHandler
AcquisitionModule
.retrieve
in interface AcquisitionHandler
transmitter
- a transmitter used to transmit retrieved messages to the MOM
reliably.Exception
public void setProperties(Properties properties)
AcquisitionHandler
setProperties
in interface AcquisitionHandler
properties
- The new set of properties.public void close()
AcquisitionHandler
close
in interface AcquisitionHandler
Copyright © 2021 ScalAgent D.T.. All rights reserved.