Package com.clover.sdk.v1.printer
Class PrinterConnector.PrinterCallback<T>
- java.lang.Object
-
- com.clover.sdk.v1.printer.PrinterConnector.PrinterCallback<T>
-
- Type Parameters:
T
- the result type.
- All Implemented Interfaces:
ServiceConnector.Callback<T>
- Enclosing class:
- PrinterConnector
@Deprecated public static class PrinterConnector.PrinterCallback<T> extends Object implements ServiceConnector.Callback<T>
Deprecated.Connector callbacks are deprecated, prefer to simply invoke connector methods which do not use callbacks on a non-main thread. An implementation of theServiceConnector.Callback
interface for receiving asynchronous results fromPrinterConnector
methods that provides default method implementations. The default implementations log theResultStatus
of the service invocation.
-
-
Constructor Summary
Constructors Constructor Description PrinterCallback()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
onServiceConnectionFailure()
Deprecated.void
onServiceFailure(ResultStatus status)
Deprecated.void
onServiceSuccess(T result, ResultStatus status)
Deprecated.
-
-
-
Method Detail
-
onServiceSuccess
public void onServiceSuccess(T result, ResultStatus status)
Deprecated.- Specified by:
onServiceSuccess
in interfaceServiceConnector.Callback<T>
-
onServiceFailure
public void onServiceFailure(ResultStatus status)
Deprecated.- Specified by:
onServiceFailure
in interfaceServiceConnector.Callback<T>
-
onServiceConnectionFailure
public void onServiceConnectionFailure()
Deprecated.- Specified by:
onServiceConnectionFailure
in interfaceServiceConnector.Callback<T>
-
-