public static interface DOFConnection.ConnectOperationListener extends DOFOperation.OperationListener
| Modifier and Type | Method and Description |
|---|---|
void |
complete(DOFOperation operation,
DOFException exception)
Operation completed.
|
void complete(DOFOperation operation, DOFException exception)
complete in interface DOFOperation.OperationListeneroperation - The operation that has completed. This will never be null.
NOTE: It is possible to extend the time for the operation by calling DOFOperation.setTimeout(int).
If an operation is extended, complete() will be called again.exception - An exception which caused completion of the operation (typically DOFErrorException.TIMEOUT or DOFException.FAILED).
If null, the operation completed normally.
NOTE: Normal completion is not the same as "success." Even if the operation completed "normally", the Provider may still have
returned an exception that was received in one of the other methods of this OperationListener.