public final class Exchange
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Exchange.Event |
Modifier and Type | Method and Description |
---|---|
static boolean |
addListener(Listener<Exchange> listener,
Exchange.Event eventType) |
static DbIterator<Exchange> |
getAccountCurrencyExchanges(long accountId,
long currencyId,
int from,
int to) |
static DbIterator<Exchange> |
getAccountExchanges(long accountId,
int from,
int to) |
static DbIterator<Exchange> |
getAllExchanges(int from,
int to) |
long |
getBlockId() |
long |
getBuyerId() |
static int |
getCount() |
static DbIterator<Exchange> |
getCurrencyExchanges(long currencyId,
int from,
int to) |
long |
getCurrencyId() |
static int |
getExchangeCount(long currencyId) |
static DbIterator<Exchange> |
getExchanges(long transactionId) |
int |
getHeight() |
static java.util.List<Exchange> |
getLastExchanges(long[] currencyIds) |
static DbIterator<Exchange> |
getOfferExchanges(long offerId,
int from,
int to) |
long |
getOfferId() |
long |
getRate() |
long |
getSellerId() |
int |
getTimestamp() |
long |
getTransactionId() |
long |
getUnits() |
static boolean |
removeListener(Listener<Exchange> listener,
Exchange.Event eventType) |
java.lang.String |
toString() |
public static DbIterator<Exchange> getAllExchanges(int from, int to)
public static int getCount()
public static boolean addListener(Listener<Exchange> listener, Exchange.Event eventType)
public static boolean removeListener(Listener<Exchange> listener, Exchange.Event eventType)
public static DbIterator<Exchange> getCurrencyExchanges(long currencyId, int from, int to)
public static java.util.List<Exchange> getLastExchanges(long[] currencyIds)
public static DbIterator<Exchange> getAccountExchanges(long accountId, int from, int to)
public static DbIterator<Exchange> getAccountCurrencyExchanges(long accountId, long currencyId, int from, int to)
public static DbIterator<Exchange> getExchanges(long transactionId)
public static DbIterator<Exchange> getOfferExchanges(long offerId, int from, int to)
public static int getExchangeCount(long currencyId)
public long getTransactionId()
public long getBlockId()
public long getOfferId()
public long getSellerId()
public long getBuyerId()
public long getUnits()
public long getRate()
public long getCurrencyId()
public int getTimestamp()
public int getHeight()
public java.lang.String toString()
toString
in class java.lang.Object