Package com.avaya.clientservices.agent
Interface AgentServiceCompletionHandler
-
public interface AgentServiceCompletionHandlerRepresents an interface that the client application needs to implement to receive the result of a requested agent operations. This handler may be implemented as an anonymous class to receive initial feedback about the outcome of a previously invoked operation by the client application.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonError(AgentException error)Reports that the operation has failed.voidonSuccess()Reports that the operation was successfully completed.
-
-
-
Method Detail
-
onSuccess
void onSuccess()
Reports that the operation was successfully completed.
-
onError
void onError(AgentException error)
Reports that the operation has failed.- Parameters:
error- Information about failure details.
-
-