Package dev.vality.fistful.identity
Class ManagementSrv.Client
java.lang.Object
org.apache.thrift.TServiceClient
dev.vality.fistful.identity.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 IdentityStatecreate(IdentityParams params, Map<String,Value> context)IdentityStateget(String id, EventRange range)Map<String,Value>getContext(String id)List<Event>getEvents(String identity_id, EventRange range)Set<WithdrawalMethod>getWithdrawalMethods(String id)IdentityStaterecvCreate()IdentityStaterecvGet()Map<String,Value>recvGetContext()List<Event>recvGetEvents()Set<WithdrawalMethod>recvGetWithdrawalMethods()voidsendCreate(IdentityParams params, Map<String,Value> context)voidsendGet(String id, EventRange range)voidsendGetContext(String id)voidsendGetEvents(String identity_id, EventRange range)voidsendGetWithdrawalMethods(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
-
getWithdrawalMethods
public Set<WithdrawalMethod> getWithdrawalMethods(String id) throws IdentityNotFound, org.apache.thrift.TException- Specified by:
getWithdrawalMethodsin interfaceManagementSrv.Iface- Throws:
IdentityNotFoundorg.apache.thrift.TException
-
sendGetWithdrawalMethods
- Throws:
org.apache.thrift.TException
-
recvGetWithdrawalMethods
public Set<WithdrawalMethod> recvGetWithdrawalMethods() throws IdentityNotFound, org.apache.thrift.TException- Throws:
IdentityNotFoundorg.apache.thrift.TException
-
create
public IdentityState create(IdentityParams params, Map<String,Value> context) throws ProviderNotFound, IdentityClassNotFound, PartyInaccessible, PartyNotFound, org.apache.thrift.TException- Specified by:
createin interfaceManagementSrv.Iface- Throws:
ProviderNotFoundIdentityClassNotFoundPartyInaccessiblePartyNotFoundorg.apache.thrift.TException
-
sendCreate
public void sendCreate(IdentityParams params, Map<String,Value> context) throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
recvCreate
public IdentityState recvCreate() throws ProviderNotFound, IdentityClassNotFound, PartyInaccessible, PartyNotFound, org.apache.thrift.TException- Throws:
ProviderNotFoundIdentityClassNotFoundPartyInaccessiblePartyNotFoundorg.apache.thrift.TException
-
get
public IdentityState get(String id, EventRange range) throws IdentityNotFound, org.apache.thrift.TException- Specified by:
getin interfaceManagementSrv.Iface- Throws:
IdentityNotFoundorg.apache.thrift.TException
-
sendGet
- Throws:
org.apache.thrift.TException
-
recvGet
- Throws:
IdentityNotFoundorg.apache.thrift.TException
-
getContext
public Map<String,Value> getContext(String id) throws IdentityNotFound, org.apache.thrift.TException- Specified by:
getContextin interfaceManagementSrv.Iface- Throws:
IdentityNotFoundorg.apache.thrift.TException
-
sendGetContext
- Throws:
org.apache.thrift.TException
-
recvGetContext
- Throws:
IdentityNotFoundorg.apache.thrift.TException
-
getEvents
public List<Event> getEvents(String identity_id, EventRange range) throws IdentityNotFound, org.apache.thrift.TException- Specified by:
getEventsin interfaceManagementSrv.Iface- Throws:
IdentityNotFoundorg.apache.thrift.TException
-
sendGetEvents
public void sendGetEvents(String identity_id, EventRange range) throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
recvGetEvents
- Throws:
IdentityNotFoundorg.apache.thrift.TException
-