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