Package dev.vality.fistful.destination
Class ManagementSrv.Client
java.lang.Object
org.apache.thrift.TServiceClient
dev.vality.fistful.destination.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 DestinationStatecreate(DestinationParams params, Map<String,Value> context)DestinationStateget(String id, EventRange range)Map<String,Value>getContext(String id)List<Event>getEvents(String id, EventRange range)DestinationStaterecvCreate()DestinationStaterecvGet()Map<String,Value>recvGetContext()List<Event>recvGetEvents()voidsendCreate(DestinationParams params, Map<String,Value> context)voidsendGet(String id, EventRange range)voidsendGetContext(String id)voidsendGetEvents(String id, EventRange range)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 DestinationState create(DestinationParams params, Map<String,Value> context) throws IdentityNotFound, CurrencyNotFound, PartyInaccessible, ForbiddenWithdrawalMethod, org.apache.thrift.TException- Specified by:
createin interfaceManagementSrv.Iface- Throws:
IdentityNotFoundCurrencyNotFoundPartyInaccessibleForbiddenWithdrawalMethodorg.apache.thrift.TException
-
sendCreate
public void sendCreate(DestinationParams params, Map<String,Value> context) throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
recvCreate
public DestinationState recvCreate() throws IdentityNotFound, CurrencyNotFound, PartyInaccessible, ForbiddenWithdrawalMethod, org.apache.thrift.TException- Throws:
IdentityNotFoundCurrencyNotFoundPartyInaccessibleForbiddenWithdrawalMethodorg.apache.thrift.TException
-
get
public DestinationState get(String id, EventRange range) throws DestinationNotFound, org.apache.thrift.TException- Specified by:
getin interfaceManagementSrv.Iface- Throws:
DestinationNotFoundorg.apache.thrift.TException
-
sendGet
- Throws:
org.apache.thrift.TException
-
recvGet
- Throws:
DestinationNotFoundorg.apache.thrift.TException
-
getContext
public Map<String,Value> getContext(String id) throws DestinationNotFound, org.apache.thrift.TException- Specified by:
getContextin interfaceManagementSrv.Iface- Throws:
DestinationNotFoundorg.apache.thrift.TException
-
sendGetContext
- Throws:
org.apache.thrift.TException
-
recvGetContext
- Throws:
DestinationNotFoundorg.apache.thrift.TException
-
getEvents
public List<Event> getEvents(String id, EventRange range) throws DestinationNotFound, org.apache.thrift.TException- Specified by:
getEventsin interfaceManagementSrv.Iface- Throws:
DestinationNotFoundorg.apache.thrift.TException
-
sendGetEvents
- Throws:
org.apache.thrift.TException
-
recvGetEvents
- Throws:
DestinationNotFoundorg.apache.thrift.TException
-