Interface PartyManagementSrv.AsyncIface

All Known Implementing Classes:
PartyManagementSrv.AsyncClient
Enclosing class:
PartyManagementSrv

public static interface PartyManagementSrv.AsyncIface
  • Method Details

    • create

      void create(String party_id, PartyParams params, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException
    • get

      void get(String party_id, org.apache.thrift.async.AsyncMethodCallback<Party> resultHandler) throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException
    • getRevision

      void getRevision(String party_id, org.apache.thrift.async.AsyncMethodCallback<Long> resultHandler) throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException
    • checkout

      void checkout(String party_id, PartyRevisionParam revision, org.apache.thrift.async.AsyncMethodCallback<Party> resultHandler) throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException
    • suspend

      void suspend(String party_id, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException
    • activate

      void activate(String party_id, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException
    • block

      void block(String party_id, String reason, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException
    • unblock

      void unblock(String party_id, String reason, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException
    • getStatus

      void getStatus(String party_id, org.apache.thrift.async.AsyncMethodCallback<PartyStatus> resultHandler) throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException
    • getMeta

      void getMeta(String party_id, org.apache.thrift.async.AsyncMethodCallback<Map<String,Value>> resultHandler) throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException
    • getMetaData

      void getMetaData(String party_id, String ns, org.apache.thrift.async.AsyncMethodCallback<Value> resultHandler) throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException
    • setMetaData

      void setMetaData(String party_id, String ns, Value data, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException
    • removeMetaData

      void removeMetaData(String party_id, String ns, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException
    • getContract

      void getContract(String party_id, String contract_id, org.apache.thrift.async.AsyncMethodCallback<Contract> resultHandler) throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException
    • computeContractTerms

      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
      Throws:
      org.apache.thrift.TException
    • getShop

      void getShop(String party_id, String id, org.apache.thrift.async.AsyncMethodCallback<Shop> resultHandler) throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException
    • getShopContract

      void getShopContract(String party_id, String id, org.apache.thrift.async.AsyncMethodCallback<ShopContract> resultHandler) throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException
    • suspendShop

      void suspendShop(String party_id, String id, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException
    • activateShop

      void activateShop(String party_id, String id, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException
    • blockShop

      void blockShop(String party_id, String id, String reason, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException
    • unblockShop

      void unblockShop(String party_id, String id, String reason, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException
    • computeShopTerms

      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
      Throws:
      org.apache.thrift.TException
    • createClaim

      void createClaim(String party_id, List<PartyModification> changeset, org.apache.thrift.async.AsyncMethodCallback<Claim> resultHandler) throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException
    • getClaim

      void getClaim(String party_id, long id, org.apache.thrift.async.AsyncMethodCallback<Claim> resultHandler) throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException
    • getClaims

      void getClaims(String party_id, org.apache.thrift.async.AsyncMethodCallback<List<Claim>> resultHandler) throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException
    • acceptClaim

      void acceptClaim(String party_id, long id, int revision, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException
    • updateClaim

      void updateClaim(String party_id, long id, int revision, List<PartyModification> changeset, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException
    • denyClaim

      void denyClaim(String party_id, long id, int revision, String reason, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException
    • revokeClaim

      void revokeClaim(String party_id, long id, int revision, String reason, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException
    • getEvents

      void getEvents(String party_id, EventRange range, org.apache.thrift.async.AsyncMethodCallback<List<Event>> resultHandler) throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException
    • getShopAccount

      void getShopAccount(String party_id, String shop_id, org.apache.thrift.async.AsyncMethodCallback<ShopAccount> resultHandler) throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException
    • getAccountState

      void getAccountState(String party_id, long account_id, org.apache.thrift.async.AsyncMethodCallback<AccountState> resultHandler) throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException
    • computeProvider

      void computeProvider(ProviderRef provider_ref, long domain_revision, Varset varset, org.apache.thrift.async.AsyncMethodCallback<Provider> resultHandler) throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException
    • computeProviderTerminalTerms

      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
      Throws:
      org.apache.thrift.TException
    • computeProviderTerminal

      void computeProviderTerminal(TerminalRef terminal_ref, long domain_revision, Varset varset, org.apache.thrift.async.AsyncMethodCallback<ProviderTerminal> resultHandler) throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException
    • computeGlobals

      void computeGlobals(long domain_revision, Varset varset, org.apache.thrift.async.AsyncMethodCallback<Globals> resultHandler) throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException
    • computeRoutingRuleset

      void computeRoutingRuleset(RoutingRulesetRef ruleset_ref, long domain_revision, Varset varset, org.apache.thrift.async.AsyncMethodCallback<RoutingRuleset> resultHandler) throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException
    • computePaymentInstitutionTerms

      void computePaymentInstitutionTerms(PaymentInstitutionRef ref, Varset varset, org.apache.thrift.async.AsyncMethodCallback<TermSet> resultHandler) throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException
    • computePaymentInstitution

      void computePaymentInstitution(PaymentInstitutionRef ref, long domain_revision, Varset varset, org.apache.thrift.async.AsyncMethodCallback<PaymentInstitution> resultHandler) throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException