com.sygic.sdk.utils.GenericListenerWrapperWithErrorHandling< SuccessParamT, ErrorParamT > Class Template Reference
Inheritance diagram for com.sygic.sdk.utils.GenericListenerWrapperWithErrorHandling< SuccessParamT, ErrorParamT >:
Collaboration diagram for com.sygic.sdk.utils.GenericListenerWrapperWithErrorHandling< SuccessParamT, ErrorParamT >:

Public Member Functions

 GenericListenerWrapperWithErrorHandling (final Method< SuccessParamT > onSuccess, final Method< ErrorParamT > onError, final Executor executor)
 
 GenericListenerWrapperWithErrorHandling (final Method< SuccessParamT > onSuccess, final Method< ErrorParamT > onError)
 
void error (final ErrorParamT x)
 
- Public Member Functions inherited from com.sygic.sdk.utils.GenericListenerWrapper< SuccessParamT >
 GenericListenerWrapper (final Method< SuccessParamT > method, final Executor executor)
 
void accept (final SuccessParamT x)
 

Additional Inherited Members

- Protected Attributes inherited from com.sygic.sdk.utils.GenericListenerWrapper< SuccessParamT >
final Executor executor
 
final Method< SuccessParamT > method
 

Constructor & Destructor Documentation

◆ GenericListenerWrapperWithErrorHandling() [1/2]

com.sygic.sdk.utils.GenericListenerWrapperWithErrorHandling< SuccessParamT, ErrorParamT >.GenericListenerWrapperWithErrorHandling ( final Method< SuccessParamT >  onSuccess,
final Method< ErrorParamT >  onError,
final Executor  executor 
)

◆ GenericListenerWrapperWithErrorHandling() [2/2]

com.sygic.sdk.utils.GenericListenerWrapperWithErrorHandling< SuccessParamT, ErrorParamT >.GenericListenerWrapperWithErrorHandling ( final Method< SuccessParamT >  onSuccess,
final Method< ErrorParamT >  onError 
)

Member Function Documentation

◆ error()

void com.sygic.sdk.utils.GenericListenerWrapperWithErrorHandling< SuccessParamT, ErrorParamT >.error ( final ErrorParamT  x)

The documentation for this class was generated from the following file: