Package org.openmuc.framework.config
Interface DriverConfig
-
public interface DriverConfig
-
-
Field Summary
Fields Modifier and Type Field Description static int
CONNECT_RETRY_INTERVAL_DEFAULT
static boolean
DISABLED_DEFAULT
static int
SAMPLING_TIMEOUT_DEFAULT
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeviceConfig
addDevice(java.lang.String deviceId)
void
delete()
java.lang.Integer
getConnectRetryInterval()
DeviceConfig
getDevice(java.lang.String deviceId)
java.util.Collection<DeviceConfig>
getDevices()
java.lang.String
getId()
java.lang.Integer
getSamplingTimeout()
java.lang.Boolean
isDisabled()
void
setConnectRetryInterval(java.lang.Integer interval)
void
setDisabled(java.lang.Boolean disabled)
void
setId(java.lang.String id)
void
setSamplingTimeout(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()
-
-