io
Interface Cooldown

All Superinterfaces:
Driver

public interface Cooldown
extends Driver

An interface indicating that a driver needs certain cool-down phases for proper operating.


Method Summary
 long getOpenTimeout()
          This is the waiting time that should be applied between closing and opening of the driver.
 long getReadWriteTimeout()
          This timeout should be applied between a write and a read operation.
 
Methods inherited from interface io.Driver
close, getDriverName, isOpen, open
 

Method Detail

getOpenTimeout

long getOpenTimeout()
This is the waiting time that should be applied between closing and opening of the driver.

Returns:
A minimum wait time in ms.

getReadWriteTimeout

long getReadWriteTimeout()
This timeout should be applied between a write and a read operation. If you write a command to this driver and the response will require a certain time to be available on the input, return here non-null values. This time is a minimum time-out, i.e. this time will pass between any write/read operation, so only use it if there is no other mean to wait for a response.