public interface SendableResponseCallback<T> extends SofaResponseCallback<T>
| 限定符和类型 | 方法和说明 |
|---|---|
void |
sendAppException(Throwable throwable)
A->B(当前)->C的场景下,B将异常异步返回给调用者A
|
void |
sendAppResponse(Object appResponse)
A->B(当前)->C的场景下,B将异常异步返回给调用者A
|
void |
sendSofaException(SofaRpcException exception)
A->B(当前)->C的场景下,B将异常异步返回给调用者A
|
onAppException, onAppResponse, onSofaExceptionvoid sendAppResponse(Object appResponse)
appResponse - 返回给A的值void sendAppException(Throwable throwable)
throwable - 返回给A的异常void sendSofaException(SofaRpcException exception)
exception - 返回给A的异常Copyright © 2008–2018 The Ant Financial. All rights reserved.