Package org.knowm.xchange.quoine.service
Class QuoineBaseService
- java.lang.Object
-
- org.knowm.xchange.service.BaseExchangeService
-
- org.knowm.xchange.quoine.service.QuoineBaseService
-
- All Implemented Interfaces:
BaseService
- Direct Known Subclasses:
QuoineAccountServiceRaw,QuoineMarketDataServiceRaw,QuoineTradeServiceRaw
public class QuoineBaseService extends BaseExchangeService implements BaseService
-
-
Field Summary
Fields Modifier and Type Field Description protected StringcontentTypeprotected QuoineAuthenticatedquoineprotected static intQUOINE_API_VERSIONprotected Stringsecretprotected QuoineSignatureDigestsignatureCreatorprotected StringtokenID-
Fields inherited from class org.knowm.xchange.service.BaseExchangeService
exchange
-
-
Constructor Summary
Constructors Constructor Description QuoineBaseService(Exchange exchange)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected RuntimeExceptionhandleHttpError(si.mazi.rescu.HttpStatusIOException exception)protected IntegerproductId(CurrencyPair currencyPair)-
Methods inherited from class org.knowm.xchange.service.BaseExchangeService
getClientConfig, verifyOrder, verifyOrder, verifyOrder
-
-
-
-
Field Detail
-
QUOINE_API_VERSION
protected static final int QUOINE_API_VERSION
- See Also:
- Constant Field Values
-
signatureCreator
protected final QuoineSignatureDigest signatureCreator
-
contentType
protected final String contentType
- See Also:
- Constant Field Values
-
tokenID
protected final String tokenID
-
secret
protected final String secret
-
quoine
protected QuoineAuthenticated quoine
-
-
Constructor Detail
-
QuoineBaseService
public QuoineBaseService(Exchange exchange)
Constructor- Parameters:
exchange-
-
-
Method Detail
-
handleHttpError
protected RuntimeException handleHttpError(si.mazi.rescu.HttpStatusIOException exception) throws IOException
- Throws:
IOException
-
productId
protected Integer productId(CurrencyPair currencyPair)
-
-