public final class Shuffler
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Shuffler.ControlledAccountException |
static class |
Shuffler.DuplicateShufflerException |
static class |
Shuffler.Event |
static class |
Shuffler.InvalidRecipientException |
static class |
Shuffler.InvalidStageException |
static class |
Shuffler.ShufflerException |
static class |
Shuffler.ShufflerLimitException |
Modifier and Type | Method and Description |
---|---|
static boolean |
addListener(Listener<Shuffler> listener,
Shuffler.Event eventType) |
static Shuffler |
addOrGetShuffler(ChildChain childChain,
byte[] privateKey,
byte[] recipientPublicKey,
byte[] shufflingFullHash,
long feeRateNQTPerFXT) |
long |
getAccountId() |
static java.util.List<Shuffler> |
getAccountShufflers(long accountId) |
static java.util.List<Shuffler> |
getAllShufflers() |
ChildChain |
getChildChain() |
Transaction |
getFailedTransaction() |
NxtException.NotCurrentlyValidException |
getFailureCause() |
long |
getFeeRateNQTPerFXT() |
byte[] |
getRecipientPublicKey() |
static Shuffler |
getShuffler(long accountId,
byte[] shufflingFullHash) |
byte[] |
getShufflingFullHash() |
static java.util.List<Shuffler> |
getShufflingShufflers(byte[] shufflingFullHash) |
static boolean |
removeListener(Listener<Shuffler> listener,
Shuffler.Event eventType) |
static void |
stopAllShufflers() |
static Shuffler |
stopShuffler(long accountId,
byte[] shufflingFullHash) |
public static Shuffler addOrGetShuffler(ChildChain childChain, byte[] privateKey, byte[] recipientPublicKey, byte[] shufflingFullHash, long feeRateNQTPerFXT) throws Shuffler.ShufflerException
Shuffler.ShufflerException
public static java.util.List<Shuffler> getAllShufflers()
public static java.util.List<Shuffler> getShufflingShufflers(byte[] shufflingFullHash)
public static java.util.List<Shuffler> getAccountShufflers(long accountId)
public static Shuffler getShuffler(long accountId, byte[] shufflingFullHash)
public static Shuffler stopShuffler(long accountId, byte[] shufflingFullHash)
public static void stopAllShufflers()
public static boolean addListener(Listener<Shuffler> listener, Shuffler.Event eventType)
public static boolean removeListener(Listener<Shuffler> listener, Shuffler.Event eventType)
public long getAccountId()
public byte[] getRecipientPublicKey()
public byte[] getShufflingFullHash()
public Transaction getFailedTransaction()
public long getFeeRateNQTPerFXT()
public NxtException.NotCurrentlyValidException getFailureCause()
public ChildChain getChildChain()