Package dev.vality.bouncer.decisions
Class ArbiterSrv.Client
java.lang.Object
org.apache.thrift.TServiceClient
dev.vality.bouncer.decisions.ArbiterSrv.Client
- All Implemented Interfaces:
ArbiterSrv.Iface
- Enclosing class:
- ArbiterSrv
public static class ArbiterSrv.Client
extends org.apache.thrift.TServiceClient
implements ArbiterSrv.Iface
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.apache.thrift.TServiceClient
interceptor, iprot_, oprot_, seqid_ -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.thrift.TServiceClient
getInputProtocol, getInterceptor, getOutputProtocol, receiveBase, sendBase, sendBaseOneway, setInterceptor
-
Constructor Details
-
Client
public Client(org.apache.thrift.protocol.TProtocol prot) -
Client
public Client(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot)
-
-
Method Details
-
judge
public Judgement judge(String ruleset, Context ctx) throws RulesetNotFound, InvalidRuleset, InvalidContext, org.apache.thrift.TException - Specified by:
judgein interfaceArbiterSrv.Iface- Throws:
RulesetNotFoundInvalidRulesetInvalidContextorg.apache.thrift.TException
-
sendJudge
- Throws:
org.apache.thrift.TException
-
recvJudge
public Judgement recvJudge() throws RulesetNotFound, InvalidRuleset, InvalidContext, org.apache.thrift.TException- Throws:
RulesetNotFoundInvalidRulesetInvalidContextorg.apache.thrift.TException
-