Class IAINodeRPCService.AsyncClient
java.lang.Object
org.apache.thrift.async.TAsyncClient
org.apache.iotdb.ainode.rpc.thrift.IAINodeRPCService.AsyncClient
- All Implemented Interfaces:
IAINodeRPCService.AsyncIface
- Enclosing class:
- IAINodeRPCService
public static class IAINodeRPCService.AsyncClient
extends org.apache.thrift.async.TAsyncClient
implements IAINodeRPCService.AsyncIface
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic class -
Field Summary
Fields inherited from class org.apache.thrift.async.TAsyncClient
___currentMethod, ___manager, ___protocolFactory, ___transport -
Constructor Summary
ConstructorsConstructorDescriptionAsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.transport.TNonblockingTransport transport) -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteModel(TDeleteModelReq req, org.apache.thrift.async.AsyncMethodCallback<TSStatus> resultHandler) voidgetAIHeartbeat(TAIHeartbeatReq req, org.apache.thrift.async.AsyncMethodCallback<TAIHeartbeatResp> resultHandler) voidinference(TInferenceReq req, org.apache.thrift.async.AsyncMethodCallback<TInferenceResp> resultHandler) voidregisterModel(TRegisterModelReq req, org.apache.thrift.async.AsyncMethodCallback<TRegisterModelResp> resultHandler) Methods inherited from class org.apache.thrift.async.TAsyncClient
checkReady, getError, getProtocolFactory, getTimeout, hasError, hasTimeout, onComplete, onError, setTimeout
-
Constructor Details
-
AsyncClient
public AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.transport.TNonblockingTransport transport)
-
-
Method Details
-
deleteModel
public void deleteModel(TDeleteModelReq req, org.apache.thrift.async.AsyncMethodCallback<TSStatus> resultHandler) throws org.apache.thrift.TException - Specified by:
deleteModelin interfaceIAINodeRPCService.AsyncIface- Throws:
org.apache.thrift.TException
-
registerModel
public void registerModel(TRegisterModelReq req, org.apache.thrift.async.AsyncMethodCallback<TRegisterModelResp> resultHandler) throws org.apache.thrift.TException - Specified by:
registerModelin interfaceIAINodeRPCService.AsyncIface- Throws:
org.apache.thrift.TException
-
getAIHeartbeat
public void getAIHeartbeat(TAIHeartbeatReq req, org.apache.thrift.async.AsyncMethodCallback<TAIHeartbeatResp> resultHandler) throws org.apache.thrift.TException - Specified by:
getAIHeartbeatin interfaceIAINodeRPCService.AsyncIface- Throws:
org.apache.thrift.TException
-
inference
public void inference(TInferenceReq req, org.apache.thrift.async.AsyncMethodCallback<TInferenceResp> resultHandler) throws org.apache.thrift.TException - Specified by:
inferencein interfaceIAINodeRPCService.AsyncIface- Throws:
org.apache.thrift.TException
-