Class PartyManagementSrv.AsyncClient
java.lang.Object
org.apache.thrift.async.TAsyncClient
dev.vality.damsel.payment_processing.PartyManagementSrv.AsyncClient
- All Implemented Interfaces:
PartyManagementSrv.AsyncIface
- Enclosing class:
- PartyManagementSrv
public static class PartyManagementSrv.AsyncClient
extends org.apache.thrift.async.TAsyncClient
implements PartyManagementSrv.AsyncIface
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic 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 TypeMethodDescriptionvoidacceptClaim(String party_id, long id, int revision, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) voidvoidactivateShop(String party_id, String id, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) voidblock(String party_id, String reason, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) voidblockShop(String party_id, String id, String reason, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) voidcheckout(String party_id, PartyRevisionParam revision, org.apache.thrift.async.AsyncMethodCallback<Party> resultHandler) voidcomputeContractTerms(String party_id, String contract_id, String timestamp, PartyRevisionParam party_revision, long domain_revision, ComputeContractTermsVarset varset, org.apache.thrift.async.AsyncMethodCallback<TermSet> resultHandler) voidcomputeGlobals(long domain_revision, Varset varset, org.apache.thrift.async.AsyncMethodCallback<Globals> resultHandler) voidcomputePaymentInstitution(PaymentInstitutionRef ref, long domain_revision, Varset varset, org.apache.thrift.async.AsyncMethodCallback<PaymentInstitution> resultHandler) voidcomputePaymentInstitutionTerms(PaymentInstitutionRef ref, Varset varset, org.apache.thrift.async.AsyncMethodCallback<TermSet> resultHandler) voidcomputeProvider(ProviderRef provider_ref, long domain_revision, Varset varset, org.apache.thrift.async.AsyncMethodCallback<Provider> resultHandler) voidcomputeProviderTerminal(TerminalRef terminal_ref, long domain_revision, Varset varset, org.apache.thrift.async.AsyncMethodCallback<ProviderTerminal> resultHandler) voidcomputeProviderTerminalTerms(ProviderRef provider_ref, TerminalRef terminal_ref, long domain_revision, Varset varset, org.apache.thrift.async.AsyncMethodCallback<ProvisionTermSet> resultHandler) voidcomputeRoutingRuleset(RoutingRulesetRef ruleset_ref, long domain_revision, Varset varset, org.apache.thrift.async.AsyncMethodCallback<RoutingRuleset> resultHandler) voidcomputeShopTerms(String party_id, String id, String timestamp, PartyRevisionParam party_revision, ComputeShopTermsVarset varset, org.apache.thrift.async.AsyncMethodCallback<TermSet> resultHandler) voidcreate(String party_id, PartyParams params, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) voidcreateClaim(String party_id, List<PartyModification> changeset, org.apache.thrift.async.AsyncMethodCallback<Claim> resultHandler) voiddenyClaim(String party_id, long id, int revision, String reason, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) voidvoidgetAccountState(String party_id, long account_id, org.apache.thrift.async.AsyncMethodCallback<AccountState> resultHandler) voidgetClaim(String party_id, long id, org.apache.thrift.async.AsyncMethodCallback<Claim> resultHandler) voidvoidgetContract(String party_id, String contract_id, org.apache.thrift.async.AsyncMethodCallback<Contract> resultHandler) voidgetEvents(String party_id, EventRange range, org.apache.thrift.async.AsyncMethodCallback<List<Event>> resultHandler) voidgetMeta(String party_id, org.apache.thrift.async.AsyncMethodCallback<Map<String, Value>> resultHandler) voidgetMetaData(String party_id, String ns, org.apache.thrift.async.AsyncMethodCallback<Value> resultHandler) voidgetRevision(String party_id, org.apache.thrift.async.AsyncMethodCallback<Long> resultHandler) voidgetShop(String party_id, String id, org.apache.thrift.async.AsyncMethodCallback<Shop> resultHandler) voidgetShopAccount(String party_id, String shop_id, org.apache.thrift.async.AsyncMethodCallback<ShopAccount> resultHandler) voidgetShopContract(String party_id, String id, org.apache.thrift.async.AsyncMethodCallback<ShopContract> resultHandler) voidgetStatus(String party_id, org.apache.thrift.async.AsyncMethodCallback<PartyStatus> resultHandler) voidremoveMetaData(String party_id, String ns, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) voidrevokeClaim(String party_id, long id, int revision, String reason, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) voidsetMetaData(String party_id, String ns, Value data, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) voidvoidsuspendShop(String party_id, String id, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) voidunblock(String party_id, String reason, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) voidunblockShop(String party_id, String id, String reason, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) voidupdateClaim(String party_id, long id, int revision, List<PartyModification> changeset, org.apache.thrift.async.AsyncMethodCallback<Void> 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
-
create
public void create(String party_id, PartyParams params, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException - Specified by:
createin interfacePartyManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
get
public void get(String party_id, org.apache.thrift.async.AsyncMethodCallback<Party> resultHandler) throws org.apache.thrift.TException - Specified by:
getin interfacePartyManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
getRevision
public void getRevision(String party_id, org.apache.thrift.async.AsyncMethodCallback<Long> resultHandler) throws org.apache.thrift.TException - Specified by:
getRevisionin interfacePartyManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
checkout
public void checkout(String party_id, PartyRevisionParam revision, org.apache.thrift.async.AsyncMethodCallback<Party> resultHandler) throws org.apache.thrift.TException - Specified by:
checkoutin interfacePartyManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
suspend
public void suspend(String party_id, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException - Specified by:
suspendin interfacePartyManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
activate
public void activate(String party_id, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException - Specified by:
activatein interfacePartyManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
block
public void block(String party_id, String reason, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException - Specified by:
blockin interfacePartyManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
unblock
public void unblock(String party_id, String reason, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException - Specified by:
unblockin interfacePartyManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
getStatus
public void getStatus(String party_id, org.apache.thrift.async.AsyncMethodCallback<PartyStatus> resultHandler) throws org.apache.thrift.TException - Specified by:
getStatusin interfacePartyManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
getMeta
public void getMeta(String party_id, org.apache.thrift.async.AsyncMethodCallback<Map<String, Value>> resultHandler) throws org.apache.thrift.TException- Specified by:
getMetain interfacePartyManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
getMetaData
public void getMetaData(String party_id, String ns, org.apache.thrift.async.AsyncMethodCallback<Value> resultHandler) throws org.apache.thrift.TException - Specified by:
getMetaDatain interfacePartyManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
setMetaData
public void setMetaData(String party_id, String ns, Value data, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException - Specified by:
setMetaDatain interfacePartyManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
removeMetaData
public void removeMetaData(String party_id, String ns, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException - Specified by:
removeMetaDatain interfacePartyManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
getContract
public void getContract(String party_id, String contract_id, org.apache.thrift.async.AsyncMethodCallback<Contract> resultHandler) throws org.apache.thrift.TException - Specified by:
getContractin interfacePartyManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
computeContractTerms
public void computeContractTerms(String party_id, String contract_id, String timestamp, PartyRevisionParam party_revision, long domain_revision, ComputeContractTermsVarset varset, org.apache.thrift.async.AsyncMethodCallback<TermSet> resultHandler) throws org.apache.thrift.TException - Specified by:
computeContractTermsin interfacePartyManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
getShop
public void getShop(String party_id, String id, org.apache.thrift.async.AsyncMethodCallback<Shop> resultHandler) throws org.apache.thrift.TException - Specified by:
getShopin interfacePartyManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
getShopContract
public void getShopContract(String party_id, String id, org.apache.thrift.async.AsyncMethodCallback<ShopContract> resultHandler) throws org.apache.thrift.TException - Specified by:
getShopContractin interfacePartyManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
suspendShop
public void suspendShop(String party_id, String id, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException - Specified by:
suspendShopin interfacePartyManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
activateShop
public void activateShop(String party_id, String id, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException - Specified by:
activateShopin interfacePartyManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
blockShop
public void blockShop(String party_id, String id, String reason, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException - Specified by:
blockShopin interfacePartyManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
unblockShop
public void unblockShop(String party_id, String id, String reason, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException - Specified by:
unblockShopin interfacePartyManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
computeShopTerms
public void computeShopTerms(String party_id, String id, String timestamp, PartyRevisionParam party_revision, ComputeShopTermsVarset varset, org.apache.thrift.async.AsyncMethodCallback<TermSet> resultHandler) throws org.apache.thrift.TException - Specified by:
computeShopTermsin interfacePartyManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
createClaim
public void createClaim(String party_id, List<PartyModification> changeset, org.apache.thrift.async.AsyncMethodCallback<Claim> resultHandler) throws org.apache.thrift.TException - Specified by:
createClaimin interfacePartyManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
getClaim
public void getClaim(String party_id, long id, org.apache.thrift.async.AsyncMethodCallback<Claim> resultHandler) throws org.apache.thrift.TException - Specified by:
getClaimin interfacePartyManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
getClaims
public void getClaims(String party_id, org.apache.thrift.async.AsyncMethodCallback<List<Claim>> resultHandler) throws org.apache.thrift.TException - Specified by:
getClaimsin interfacePartyManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
acceptClaim
public void acceptClaim(String party_id, long id, int revision, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException - Specified by:
acceptClaimin interfacePartyManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
updateClaim
public void updateClaim(String party_id, long id, int revision, List<PartyModification> changeset, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException - Specified by:
updateClaimin interfacePartyManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
denyClaim
public void denyClaim(String party_id, long id, int revision, String reason, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException - Specified by:
denyClaimin interfacePartyManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
revokeClaim
public void revokeClaim(String party_id, long id, int revision, String reason, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException - Specified by:
revokeClaimin interfacePartyManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
getEvents
public void getEvents(String party_id, EventRange range, org.apache.thrift.async.AsyncMethodCallback<List<Event>> resultHandler) throws org.apache.thrift.TException - Specified by:
getEventsin interfacePartyManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
getShopAccount
public void getShopAccount(String party_id, String shop_id, org.apache.thrift.async.AsyncMethodCallback<ShopAccount> resultHandler) throws org.apache.thrift.TException - Specified by:
getShopAccountin interfacePartyManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
getAccountState
public void getAccountState(String party_id, long account_id, org.apache.thrift.async.AsyncMethodCallback<AccountState> resultHandler) throws org.apache.thrift.TException - Specified by:
getAccountStatein interfacePartyManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
computeProvider
public void computeProvider(ProviderRef provider_ref, long domain_revision, Varset varset, org.apache.thrift.async.AsyncMethodCallback<Provider> resultHandler) throws org.apache.thrift.TException - Specified by:
computeProviderin interfacePartyManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
computeProviderTerminalTerms
public void computeProviderTerminalTerms(ProviderRef provider_ref, TerminalRef terminal_ref, long domain_revision, Varset varset, org.apache.thrift.async.AsyncMethodCallback<ProvisionTermSet> resultHandler) throws org.apache.thrift.TException - Specified by:
computeProviderTerminalTermsin interfacePartyManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
computeProviderTerminal
public void computeProviderTerminal(TerminalRef terminal_ref, long domain_revision, Varset varset, org.apache.thrift.async.AsyncMethodCallback<ProviderTerminal> resultHandler) throws org.apache.thrift.TException - Specified by:
computeProviderTerminalin interfacePartyManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
computeGlobals
public void computeGlobals(long domain_revision, Varset varset, org.apache.thrift.async.AsyncMethodCallback<Globals> resultHandler) throws org.apache.thrift.TException - Specified by:
computeGlobalsin interfacePartyManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
computeRoutingRuleset
public void computeRoutingRuleset(RoutingRulesetRef ruleset_ref, long domain_revision, Varset varset, org.apache.thrift.async.AsyncMethodCallback<RoutingRuleset> resultHandler) throws org.apache.thrift.TException - Specified by:
computeRoutingRulesetin interfacePartyManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
computePaymentInstitutionTerms
public void computePaymentInstitutionTerms(PaymentInstitutionRef ref, Varset varset, org.apache.thrift.async.AsyncMethodCallback<TermSet> resultHandler) throws org.apache.thrift.TException - Specified by:
computePaymentInstitutionTermsin interfacePartyManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
computePaymentInstitution
public void computePaymentInstitution(PaymentInstitutionRef ref, long domain_revision, Varset varset, org.apache.thrift.async.AsyncMethodCallback<PaymentInstitution> resultHandler) throws org.apache.thrift.TException - Specified by:
computePaymentInstitutionin interfacePartyManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-