public abstract class ServiceClient extends Object
限定符和类型 | 字段和说明 |
---|---|
protected static ResourceManager |
rm |
限定符 | 构造器和说明 |
---|---|
protected |
ServiceClient(ClientConfiguration config) |
限定符和类型 | 方法和说明 |
---|---|
<Res> void |
asyncSendRequest(RequestMessage request,
ExecutionContext context,
com.aliyun.openservices.ots.internal.OTSAsyncResponseConsumer<Res> consumer,
org.apache.http.concurrent.FutureCallback<Res> callback,
com.aliyun.openservices.ots.internal.OTSTraceLogger traceLogger) |
protected abstract <Res> void |
asyncSendRequestCore(RequestMessage request,
ExecutionContext context,
com.aliyun.openservices.ots.internal.OTSAsyncResponseConsumer<Res> consumer,
org.apache.http.concurrent.FutureCallback<Res> callback,
com.aliyun.openservices.ots.internal.OTSTraceLogger traceLogger) |
ClientConfiguration |
getClientConfiguration() |
protected void |
handleRequest(RequestMessage message,
List<RequestHandler> resquestHandlers) |
abstract void |
shutdown() |
protected static ResourceManager rm
protected ServiceClient(ClientConfiguration config)
public ClientConfiguration getClientConfiguration()
public <Res> void asyncSendRequest(RequestMessage request, ExecutionContext context, com.aliyun.openservices.ots.internal.OTSAsyncResponseConsumer<Res> consumer, org.apache.http.concurrent.FutureCallback<Res> callback, com.aliyun.openservices.ots.internal.OTSTraceLogger traceLogger)
protected abstract <Res> void asyncSendRequestCore(RequestMessage request, ExecutionContext context, com.aliyun.openservices.ots.internal.OTSAsyncResponseConsumer<Res> consumer, org.apache.http.concurrent.FutureCallback<Res> callback, com.aliyun.openservices.ots.internal.OTSTraceLogger traceLogger)
protected void handleRequest(RequestMessage message, List<RequestHandler> resquestHandlers) throws ClientException
ClientException
public abstract void shutdown()
Copyright © 2016. All Rights Reserved.