Kofax Mobile SDK API Reference
|
Public Member Functions | |
TimeOutParameters (long duration, TimeUnit timeUnit) | |
long | getTimeOut () |
TimeUnit | getUnit () |
The TimeOutParameters class. This class corresponds to all connection timeouts: connect, read and write. If any operation exceeds the timeout, the process is cancelled, and an exception will be raised. A value of 0 means no timeout, otherwise values must be between 1 and Integer::MAX_VALUE when converted to milliseconds.
TimeOutParameters | ( | long | duration, |
TimeUnit | timeUnit | ||
) |
duration | The amount of the timeout |
timeUnit | The time unit associated with the duration |
IllegalArgumentException |
long getTimeOut | ( | ) |
TimeUnit getUnit | ( | ) |