Package dev.vality.damsel.proxy_provider
Class ProviderProxySrv.AsyncClient
java.lang.Object
org.apache.thrift.async.TAsyncClient
dev.vality.damsel.proxy_provider.ProviderProxySrv.AsyncClient
- All Implemented Interfaces:
ProviderProxySrv.AsyncIface
- Enclosing class:
- ProviderProxySrv
public static class ProviderProxySrv.AsyncClient
extends org.apache.thrift.async.TAsyncClient
implements ProviderProxySrv.AsyncIface
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic 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 TypeMethodDescriptionvoidgenerateToken(RecurrentTokenContext context, org.apache.thrift.async.AsyncMethodCallback<RecurrentTokenProxyResult> resultHandler) voidhandlePaymentCallback(ByteBuffer callback, PaymentContext context, org.apache.thrift.async.AsyncMethodCallback<PaymentCallbackResult> resultHandler) voidhandleRecurrentTokenCallback(ByteBuffer callback, RecurrentTokenContext context, org.apache.thrift.async.AsyncMethodCallback<RecurrentTokenCallbackResult> resultHandler) voidprocessPayment(PaymentContext context, org.apache.thrift.async.AsyncMethodCallback<PaymentProxyResult> 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
-
generateToken
public void generateToken(RecurrentTokenContext context, org.apache.thrift.async.AsyncMethodCallback<RecurrentTokenProxyResult> resultHandler) throws org.apache.thrift.TException - Specified by:
generateTokenin interfaceProviderProxySrv.AsyncIface- Throws:
org.apache.thrift.TException
-
handleRecurrentTokenCallback
public void handleRecurrentTokenCallback(ByteBuffer callback, RecurrentTokenContext context, org.apache.thrift.async.AsyncMethodCallback<RecurrentTokenCallbackResult> resultHandler) throws org.apache.thrift.TException - Specified by:
handleRecurrentTokenCallbackin interfaceProviderProxySrv.AsyncIface- Throws:
org.apache.thrift.TException
-
processPayment
public void processPayment(PaymentContext context, org.apache.thrift.async.AsyncMethodCallback<PaymentProxyResult> resultHandler) throws org.apache.thrift.TException - Specified by:
processPaymentin interfaceProviderProxySrv.AsyncIface- Throws:
org.apache.thrift.TException
-
handlePaymentCallback
public void handlePaymentCallback(ByteBuffer callback, PaymentContext context, org.apache.thrift.async.AsyncMethodCallback<PaymentCallbackResult> resultHandler) throws org.apache.thrift.TException - Specified by:
handlePaymentCallbackin interfaceProviderProxySrv.AsyncIface- Throws:
org.apache.thrift.TException
-