Package dev.vality.fistful.p2p_transfer
Class ManagementSrv.AsyncClient
java.lang.Object
org.apache.thrift.async.TAsyncClient
dev.vality.fistful.p2p_transfer.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.CreateAdjustment_callstatic classManagementSrv.AsyncClient.Factorystatic classManagementSrv.AsyncClient.Get_callstatic classManagementSrv.AsyncClient.GetContext_callstatic classManagementSrv.AsyncClient.GetEvents_callstatic classManagementSrv.AsyncClient.GetQuote_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(P2PTransferParams params, Map<String,Value> context, org.apache.thrift.async.AsyncMethodCallback<P2PTransferState> resultHandler)voidcreateAdjustment(String id, AdjustmentParams params, org.apache.thrift.async.AsyncMethodCallback<AdjustmentState> resultHandler)voidget(String id, EventRange range, org.apache.thrift.async.AsyncMethodCallback<P2PTransferState> resultHandler)voidgetContext(String id, org.apache.thrift.async.AsyncMethodCallback<Map<String,Value>> resultHandler)voidgetEvents(String id, EventRange range, org.apache.thrift.async.AsyncMethodCallback<List<Event>> resultHandler)voidgetQuote(QuoteParams params, org.apache.thrift.async.AsyncMethodCallback<Quote> 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
-
getQuote
public void getQuote(QuoteParams params, org.apache.thrift.async.AsyncMethodCallback<Quote> resultHandler) throws org.apache.thrift.TException- Specified by:
getQuotein interfaceManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
create
public void create(P2PTransferParams params, Map<String,Value> context, org.apache.thrift.async.AsyncMethodCallback<P2PTransferState> 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<P2PTransferState> 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 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
-
createAdjustment
public void createAdjustment(String id, AdjustmentParams params, org.apache.thrift.async.AsyncMethodCallback<AdjustmentState> resultHandler) throws org.apache.thrift.TException- Specified by:
createAdjustmentin interfaceManagementSrv.AsyncIface- Throws:
org.apache.thrift.TException
-