org.openmuc.framework.config
Interface DriverConfig
public interface DriverConfig
READ_TIMEOUT_DEFAULT
static final int READ_TIMEOUT_DEFAULT
- See Also:
- Constant Field Values
CONNECT_TIMEOUT_DEFAULT
static final int CONNECT_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
getId
java.lang.String getId()
setId
void setId(java.lang.String id)
throws NamingCollisionException
- Throws:
NamingCollisionException
getReadTimeout
java.lang.Integer getReadTimeout()
setReadTimeout
void setReadTimeout(java.lang.Integer timeout)
getConnectTimeout
java.lang.Integer getConnectTimeout()
setConnectTimeout
void setConnectTimeout(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 interfaceAddress,
java.lang.String deviceAddress)
throws NamingCollisionException
- Throws:
NamingCollisionException
getOrAddDevice
DeviceConfig getOrAddDevice(java.lang.String interfaceAddress,
java.lang.String deviceAddress)
getDevice
DeviceConfig getDevice(java.lang.String interfaceAddress,
java.lang.String deviceAddress)
getDevices
java.util.Collection<DeviceConfig> getDevices()
delete
void delete()