Class ProcessingSrv.AsyncClient
java.lang.Object
org.apache.thrift.async.TAsyncClient
dev.vality.damsel.withdrawals.processing.ProcessingSrv.AsyncClient
- All Implemented Interfaces:
ProcessingSrv.AsyncIface
- Enclosing class:
- ProcessingSrv
public static class ProcessingSrv.AsyncClient extends org.apache.thrift.async.TAsyncClient implements ProcessingSrv.AsyncIface
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProcessingSrv.AsyncClient.Factorystatic classProcessingSrv.AsyncClient.Get_callstatic classProcessingSrv.AsyncClient.Start_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 voidget(String id, org.apache.thrift.async.AsyncMethodCallback<WithdrawalState> resultHandler)voidstart(Withdrawal withdrawal, org.apache.thrift.async.AsyncMethodCallback<WithdrawalState> 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
-
start
public void start(Withdrawal withdrawal, org.apache.thrift.async.AsyncMethodCallback<WithdrawalState> resultHandler) throws org.apache.thrift.TException- Specified by:
startin interfaceProcessingSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
get
public void get(String id, org.apache.thrift.async.AsyncMethodCallback<WithdrawalState> resultHandler) throws org.apache.thrift.TException- Specified by:
getin interfaceProcessingSrv.AsyncIface- Throws:
org.apache.thrift.TException
-