Package dev.vality.fistful.identity
Class ManagementSrv.AsyncClient
java.lang.Object
org.apache.thrift.async.TAsyncClient
dev.vality.fistful.identity.ManagementSrv.AsyncClient
- All Implemented Interfaces:
ManagementSrv.AsyncIface
- Enclosing class:
- ManagementSrv
public static class ManagementSrv.AsyncClient extends org.apache.thrift.async.TAsyncClient implements ManagementSrv.AsyncIface
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classManagementSrv.AsyncClient.Create_callstatic classManagementSrv.AsyncClient.Factorystatic classManagementSrv.AsyncClient.Get_callstatic classManagementSrv.AsyncClient.GetContext_callstatic classManagementSrv.AsyncClient.GetEvents_callstatic classManagementSrv.AsyncClient.GetWithdrawalMethods_call -
Field Summary
Fields inherited from class org.apache.thrift.async.TAsyncClient
___currentMethod, ___manager, ___protocolFactory, ___transport -
Constructor Summary
Constructors Constructor Description AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.transport.TNonblockingTransport transport) -
Method Summary
Modifier and Type Method Description voidcreate(IdentityParams params, Map<String,Value> context, org.apache.thrift.async.AsyncMethodCallback<IdentityState> resultHandler)voidget(String id, EventRange range, org.apache.thrift.async.AsyncMethodCallback<IdentityState> resultHandler)voidgetContext(String id, org.apache.thrift.async.AsyncMethodCallback<Map<String,Value>> resultHandler)voidgetEvents(String identity_id, EventRange range, org.apache.thrift.async.AsyncMethodCallback<List<Event>> resultHandler)voidgetWithdrawalMethods(String id, org.apache.thrift.async.AsyncMethodCallback<Set<WithdrawalMethod>> 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
-
getWithdrawalMethods
public void getWithdrawalMethods(String id, org.apache.thrift.async.AsyncMethodCallback<Set<WithdrawalMethod>> resultHandler) throws org.apache.thrift.TException- Specified by:
getWithdrawalMethodsin interfaceManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
create
public void create(IdentityParams params, Map<String,Value> context, org.apache.thrift.async.AsyncMethodCallback<IdentityState> resultHandler) throws org.apache.thrift.TException- Specified by:
createin interfaceManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
get
public void get(String id, EventRange range, org.apache.thrift.async.AsyncMethodCallback<IdentityState> resultHandler) throws org.apache.thrift.TException- Specified by:
getin interfaceManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
getContext
public void getContext(String id, org.apache.thrift.async.AsyncMethodCallback<Map<String,Value>> resultHandler) throws org.apache.thrift.TException- Specified by:
getContextin interfaceManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
getEvents
public void getEvents(String identity_id, EventRange range, org.apache.thrift.async.AsyncMethodCallback<List<Event>> resultHandler) throws org.apache.thrift.TException- Specified by:
getEventsin interfaceManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-