Class AdapterSrv.AsyncClient
java.lang.Object
org.apache.thrift.async.TAsyncClient
dev.vality.damsel.withdrawals.provider_adapter.AdapterSrv.AsyncClient
- All Implemented Interfaces:
AdapterSrv.AsyncIface
- Enclosing class:
- AdapterSrv
public static class AdapterSrv.AsyncClient
extends org.apache.thrift.async.TAsyncClient
implements AdapterSrv.AsyncIface
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic class -
Field Summary
Fields inherited from class org.apache.thrift.async.TAsyncClient
___currentMethod, ___manager, ___protocolFactory, ___transport -
Constructor Summary
ConstructorsConstructorDescriptionAsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.transport.TNonblockingTransport transport) -
Method Summary
Modifier and TypeMethodDescriptionvoidgetQuote(GetQuoteParams params, Map<String, String> opts, org.apache.thrift.async.AsyncMethodCallback<Quote> resultHandler) voidhandleCallback(Callback callback, Withdrawal withdrawal, Value state, Map<String, String> opts, org.apache.thrift.async.AsyncMethodCallback<CallbackResult> resultHandler) voidprocessWithdrawal(Withdrawal withdrawal, Value state, Map<String, String> opts, org.apache.thrift.async.AsyncMethodCallback<ProcessResult> 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
-
processWithdrawal
public void processWithdrawal(Withdrawal withdrawal, Value state, Map<String, String> opts, org.apache.thrift.async.AsyncMethodCallback<ProcessResult> resultHandler) throws org.apache.thrift.TException- Specified by:
processWithdrawalin interfaceAdapterSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
getQuote
public void getQuote(GetQuoteParams params, Map<String, String> opts, org.apache.thrift.async.AsyncMethodCallback<Quote> resultHandler) throws org.apache.thrift.TException- Specified by:
getQuotein interfaceAdapterSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
handleCallback
public void handleCallback(Callback callback, Withdrawal withdrawal, Value state, Map<String, String> opts, org.apache.thrift.async.AsyncMethodCallback<CallbackResult> resultHandler) throws org.apache.thrift.TException- Specified by:
handleCallbackin interfaceAdapterSrv.AsyncIface- Throws:
org.apache.thrift.TException
-