Package dev.vality.damsel.proxy_provider
Class ProviderProxySrv.AsyncProcessor.ProcessPayment<I extends ProviderProxySrv.AsyncIface>
java.lang.Object
org.apache.thrift.AsyncProcessFunction<I,ProviderProxySrv.ProcessPayment_args,PaymentProxyResult>
dev.vality.damsel.proxy_provider.ProviderProxySrv.AsyncProcessor.ProcessPayment<I>
- Enclosing class:
- ProviderProxySrv.AsyncProcessor<I extends ProviderProxySrv.AsyncIface>
public static class ProviderProxySrv.AsyncProcessor.ProcessPayment<I extends ProviderProxySrv.AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I,ProviderProxySrv.ProcessPayment_args,PaymentProxyResult>
-
Constructor Summary
Constructors Constructor Description ProcessPayment() -
Method Summary
Modifier and Type Method Description ProviderProxySrv.ProcessPayment_argsgetEmptyArgsInstance()org.apache.thrift.async.AsyncMethodCallback<PaymentProxyResult>getResultHandler(org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, int seqid)protected booleanisOneway()voidstart(I iface, ProviderProxySrv.ProcessPayment_args args, org.apache.thrift.async.AsyncMethodCallback<PaymentProxyResult> resultHandler)Methods inherited from class org.apache.thrift.AsyncProcessFunction
getMethodName, sendResponse
-
Constructor Details
-
ProcessPayment
public ProcessPayment()
-
-
Method Details
-
getEmptyArgsInstance
- Specified by:
getEmptyArgsInstancein classorg.apache.thrift.AsyncProcessFunction<I extends ProviderProxySrv.AsyncIface,ProviderProxySrv.ProcessPayment_args,PaymentProxyResult>
-
getResultHandler
public org.apache.thrift.async.AsyncMethodCallback<PaymentProxyResult> getResultHandler(org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, int seqid)- Specified by:
getResultHandlerin classorg.apache.thrift.AsyncProcessFunction<I extends ProviderProxySrv.AsyncIface,ProviderProxySrv.ProcessPayment_args,PaymentProxyResult>
-
isOneway
protected boolean isOneway()- Specified by:
isOnewayin classorg.apache.thrift.AsyncProcessFunction<I extends ProviderProxySrv.AsyncIface,ProviderProxySrv.ProcessPayment_args,PaymentProxyResult>
-
start
public void start(I iface, ProviderProxySrv.ProcessPayment_args args, org.apache.thrift.async.AsyncMethodCallback<PaymentProxyResult> resultHandler) throws org.apache.thrift.TException- Specified by:
startin classorg.apache.thrift.AsyncProcessFunction<I extends ProviderProxySrv.AsyncIface,ProviderProxySrv.ProcessPayment_args,PaymentProxyResult>- Throws:
org.apache.thrift.TException
-