Package dev.vality.fistful.wallet
Class ManagementSrv.Client
java.lang.Object
org.apache.thrift.TServiceClient
dev.vality.fistful.wallet.ManagementSrv.Client
- All Implemented Interfaces:
ManagementSrv.Iface
- Enclosing class:
- ManagementSrv
public static class ManagementSrv.Client extends org.apache.thrift.TServiceClient implements ManagementSrv.Iface
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classManagementSrv.Client.Factory -
Field Summary
Fields inherited from class org.apache.thrift.TServiceClient
iprot_, oprot_, seqid_ -
Constructor Summary
-
Method Summary
Modifier and Type Method Description WalletStatecreate(WalletParams params, Map<String,Value> context)WalletStateget(String id, EventRange range)AccountBalancegetAccountBalance(String id)Map<String,Value>getContext(String id)WalletStaterecvCreate()WalletStaterecvGet()AccountBalancerecvGetAccountBalance()Map<String,Value>recvGetContext()voidsendCreate(WalletParams params, Map<String,Value> context)voidsendGet(String id, EventRange range)voidsendGetAccountBalance(String id)voidsendGetContext(String id)Methods inherited from class org.apache.thrift.TServiceClient
getInputProtocol, getOutputProtocol, receiveBase, sendBase, sendBaseOneway
-
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
-
create
public WalletState create(WalletParams params, Map<String,Value> context) throws IdentityNotFound, CurrencyNotFound, PartyInaccessible, org.apache.thrift.TException- Specified by:
createin interfaceManagementSrv.Iface- Throws:
IdentityNotFoundCurrencyNotFoundPartyInaccessibleorg.apache.thrift.TException
-
sendCreate
public void sendCreate(WalletParams params, Map<String,Value> context) throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
recvCreate
public WalletState recvCreate() throws IdentityNotFound, CurrencyNotFound, PartyInaccessible, org.apache.thrift.TException- Throws:
IdentityNotFoundCurrencyNotFoundPartyInaccessibleorg.apache.thrift.TException
-
get
public WalletState get(String id, EventRange range) throws WalletNotFound, org.apache.thrift.TException- Specified by:
getin interfaceManagementSrv.Iface- Throws:
WalletNotFoundorg.apache.thrift.TException
-
sendGet
- Throws:
org.apache.thrift.TException
-
recvGet
- Throws:
WalletNotFoundorg.apache.thrift.TException
-
getContext
public Map<String,Value> getContext(String id) throws WalletNotFound, org.apache.thrift.TException- Specified by:
getContextin interfaceManagementSrv.Iface- Throws:
WalletNotFoundorg.apache.thrift.TException
-
sendGetContext
- Throws:
org.apache.thrift.TException
-
recvGetContext
- Throws:
WalletNotFoundorg.apache.thrift.TException
-
getAccountBalance
public AccountBalance getAccountBalance(String id) throws WalletNotFound, org.apache.thrift.TException- Specified by:
getAccountBalancein interfaceManagementSrv.Iface- Throws:
WalletNotFoundorg.apache.thrift.TException
-
sendGetAccountBalance
- Throws:
org.apache.thrift.TException
-
recvGetAccountBalance
- Throws:
WalletNotFoundorg.apache.thrift.TException
-