Package dev.vality.identity
Class IdentificationJudgementSrv.AsyncClient
java.lang.Object
org.apache.thrift.async.TAsyncClient
dev.vality.identity.IdentificationJudgementSrv.AsyncClient
- All Implemented Interfaces:
IdentificationJudgementSrv.AsyncIface
- Enclosing class:
- IdentificationJudgementSrv
public static class IdentificationJudgementSrv.AsyncClient extends org.apache.thrift.async.TAsyncClient implements IdentificationJudgementSrv.AsyncIface
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIdentificationJudgementSrv.AsyncClient.Approve_callstatic classIdentificationJudgementSrv.AsyncClient.Deny_callstatic classIdentificationJudgementSrv.AsyncClient.Factory -
Field Summary
Fields inherited from class org.apache.thrift.async.TAsyncClient
___currentMethod, ___manager, ___protocolFactory, ___transport -
Constructor Summary
Constructors Constructor Description AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.transport.TNonblockingTransport transport) -
Method Summary
Modifier and Type Method Description voidapprove(String id, org.apache.thrift.async.AsyncMethodCallback<IdentityClaim> resultHandler)voiddeny(String id, org.apache.thrift.async.AsyncMethodCallback<IdentityClaim> 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
-
approve
public void approve(String id, org.apache.thrift.async.AsyncMethodCallback<IdentityClaim> resultHandler) throws org.apache.thrift.TException- Specified by:
approvein interfaceIdentificationJudgementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
deny
public void deny(String id, org.apache.thrift.async.AsyncMethodCallback<IdentityClaim> resultHandler) throws org.apache.thrift.TException- Specified by:
denyin interfaceIdentificationJudgementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-