Package dev.vality.xrates.rate
Class RatesSrv.AsyncClient.GetConvertedAmount_call
java.lang.Object
org.apache.thrift.async.TAsyncMethodCall<Rational>
dev.vality.xrates.rate.RatesSrv.AsyncClient.GetConvertedAmount_call
- Enclosing class:
- RatesSrv.AsyncClient
public static class RatesSrv.AsyncClient.GetConvertedAmount_call extends org.apache.thrift.async.TAsyncMethodCall<Rational>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.thrift.async.TAsyncMethodCall
org.apache.thrift.async.TAsyncMethodCall.State -
Field Summary
Fields inherited from class org.apache.thrift.async.TAsyncMethodCall
client, transport -
Constructor Summary
Constructors Constructor Description GetConvertedAmount_call(String source, ConversionRequest request, org.apache.thrift.async.AsyncMethodCallback<Rational> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) -
Method Summary
Modifier and Type Method Description RationalgetResult()voidwrite_args(org.apache.thrift.protocol.TProtocol prot)Methods inherited from class org.apache.thrift.async.TAsyncMethodCall
getClient, getFrameBuffer, getSequenceId, getStartTime, getState, getTimeoutTimestamp, hasTimeout, isFinished, onError, prepareMethodCall
-
Constructor Details
-
GetConvertedAmount_call
public GetConvertedAmount_call(String source, ConversionRequest request, org.apache.thrift.async.AsyncMethodCallback<Rational> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
-
Method Details
-
write_args
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException- Specified by:
write_argsin classorg.apache.thrift.async.TAsyncMethodCall<Rational>- Throws:
org.apache.thrift.TException
-
getResult
- Specified by:
getResultin classorg.apache.thrift.async.TAsyncMethodCall<Rational>- Throws:
QuoteNotFoundCurrencyNotFoundorg.apache.thrift.TException
-