Package dev.vality.bouncer.decisions
Class ArbiterSrv.AsyncClient.Judge_call
java.lang.Object
org.apache.thrift.async.TAsyncMethodCall<Judgement>
dev.vality.bouncer.decisions.ArbiterSrv.AsyncClient.Judge_call
- Enclosing class:
- ArbiterSrv.AsyncClient
public static class ArbiterSrv.AsyncClient.Judge_call
extends org.apache.thrift.async.TAsyncMethodCall<Judgement>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.thrift.async.TAsyncMethodCall
org.apache.thrift.async.TAsyncMethodCall.State -
Field Summary
Fields inherited from class org.apache.thrift.async.TAsyncMethodCall
client, transport -
Constructor Summary
ConstructorsConstructorDescriptionJudge_call(String ruleset, Context ctx, org.apache.thrift.async.AsyncMethodCallback<Judgement> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) -
Method Summary
Methods inherited from class org.apache.thrift.async.TAsyncMethodCall
getClient, getFrameBuffer, getSequenceId, getStartTime, getState, getTimeoutTimestamp, hasTimeout, isFinished, onError, prepareMethodCall
-
Constructor Details
-
Judge_call
public Judge_call(String ruleset, Context ctx, org.apache.thrift.async.AsyncMethodCallback<Judgement> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException - Throws:
org.apache.thrift.TException
-
-
Method Details
-
write_args
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException - Specified by:
write_argsin classorg.apache.thrift.async.TAsyncMethodCall<Judgement>- Throws:
org.apache.thrift.TException
-
getResult
public Judgement getResult() throws RulesetNotFound, InvalidRuleset, InvalidContext, org.apache.thrift.TException- Specified by:
getResultin classorg.apache.thrift.async.TAsyncMethodCall<Judgement>- Throws:
RulesetNotFoundInvalidRulesetInvalidContextorg.apache.thrift.TException
-