Package dev.vality.bouncer.decisions
Class ArbiterSrv.AsyncClient
java.lang.Object
org.apache.thrift.async.TAsyncClient
dev.vality.bouncer.decisions.ArbiterSrv.AsyncClient
- All Implemented Interfaces:
ArbiterSrv.AsyncIface
- Enclosing class:
- ArbiterSrv
public static class ArbiterSrv.AsyncClient extends org.apache.thrift.async.TAsyncClient implements ArbiterSrv.AsyncIface
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classArbiterSrv.AsyncClient.Factorystatic classArbiterSrv.AsyncClient.Judge_call -
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
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
-
judge
public void judge(String ruleset, Context ctx, org.apache.thrift.async.AsyncMethodCallback<Judgement> resultHandler) throws org.apache.thrift.TException- Specified by:
judgein interfaceArbiterSrv.AsyncIface- Throws:
org.apache.thrift.TException
-