Package org.openmuc.framework.config
Interface DriverConfig
-
public interface DriverConfig
-
-
Field Summary
Fields Modifier and Type Field Description static intCONNECT_RETRY_INTERVAL_DEFAULTstatic booleanDISABLED_DEFAULTstatic intSAMPLING_TIMEOUT_DEFAULT
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeviceConfigaddDevice(java.lang.String deviceId)voiddelete()java.lang.IntegergetConnectRetryInterval()DeviceConfiggetDevice(java.lang.String deviceId)java.util.Collection<DeviceConfig>getDevices()java.lang.StringgetId()java.lang.IntegergetSamplingTimeout()java.lang.BooleanisDisabled()voidsetConnectRetryInterval(java.lang.Integer interval)voidsetDisabled(java.lang.Boolean disabled)voidsetId(java.lang.String id)voidsetSamplingTimeout(java.lang.Integer timeout)
-
-
-
Field Detail
-
SAMPLING_TIMEOUT_DEFAULT
static final int SAMPLING_TIMEOUT_DEFAULT
- See Also:
- Constant Field Values
-
CONNECT_RETRY_INTERVAL_DEFAULT
static final int CONNECT_RETRY_INTERVAL_DEFAULT
- See Also:
- Constant Field Values
-
DISABLED_DEFAULT
static final boolean DISABLED_DEFAULT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
java.lang.String getId()
-
setId
void setId(java.lang.String id) throws IdCollisionException- Throws:
IdCollisionException
-
getSamplingTimeout
java.lang.Integer getSamplingTimeout()
-
setSamplingTimeout
void setSamplingTimeout(java.lang.Integer timeout)
-
getConnectRetryInterval
java.lang.Integer getConnectRetryInterval()
-
setConnectRetryInterval
void setConnectRetryInterval(java.lang.Integer interval)
-
isDisabled
java.lang.Boolean isDisabled()
-
setDisabled
void setDisabled(java.lang.Boolean disabled)
-
addDevice
DeviceConfig addDevice(java.lang.String deviceId) throws IdCollisionException
- Throws:
IdCollisionException
-
getDevice
DeviceConfig getDevice(java.lang.String deviceId)
-
getDevices
java.util.Collection<DeviceConfig> getDevices()
-
delete
void delete()
-
-