public class TarsCallbackWrapper extends Object implements Callback<TarsServantResponse>
| 构造器和说明 |
|---|
TarsCallbackWrapper(ServantProxyConfig config,
String methodName,
String remoteIp,
int remotePort,
long bornTime,
TarsServantRequest request,
Callback<TarsServantResponse> callback,
TarsInvoker invoker) |
public TarsCallbackWrapper(ServantProxyConfig config, String methodName, String remoteIp, int remotePort, long bornTime, TarsServantRequest request, Callback<TarsServantResponse> callback, TarsInvoker invoker)
public void onCompleted(TarsServantResponse response)
onCompleted 在接口中 Callback<TarsServantResponse>public void onException(Throwable e)
onException 在接口中 Callback<TarsServantResponse>public void onExpired()
onExpired 在接口中 Callback<TarsServantResponse>Copyright © 2020. All Rights Reserved.