Package nxt
Class Shuffler
- java.lang.Object
-
- nxt.Shuffler
-
public final class Shuffler extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShuffler.ControlledAccountExceptionstatic classShuffler.DuplicateShufflerExceptionstatic classShuffler.InvalidRecipientExceptionstatic classShuffler.InvalidStageExceptionstatic classShuffler.ShufflerExceptionstatic classShuffler.ShufflerLimitException
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ShuffleraddOrGetShuffler(java.lang.String secretPhrase, byte[] recipientPublicKey, byte[] shufflingFullHash)longgetAccountId()static java.util.List<Shuffler>getAccountShufflers(long accountId)static java.util.List<Shuffler>getAllShufflers()TransactiongetFailedTransaction()NxtException.NotCurrentlyValidExceptiongetFailureCause()byte[]getRecipientPublicKey()static ShufflergetShuffler(long accountId, byte[] shufflingFullHash)byte[]getShufflingFullHash()static java.util.List<Shuffler>getShufflingShufflers(byte[] shufflingFullHash)static voidstopAllShufflers()static ShufflerstopShuffler(long accountId, byte[] shufflingFullHash)
-
-
-
Method Detail
-
addOrGetShuffler
public static Shuffler addOrGetShuffler(java.lang.String secretPhrase, byte[] recipientPublicKey, byte[] shufflingFullHash) throws Shuffler.ShufflerException
- Throws:
Shuffler.ShufflerException
-
getAllShufflers
public static java.util.List<Shuffler> getAllShufflers()
-
getShufflingShufflers
public static java.util.List<Shuffler> getShufflingShufflers(byte[] shufflingFullHash)
-
getAccountShufflers
public static java.util.List<Shuffler> getAccountShufflers(long accountId)
-
getShuffler
public static Shuffler getShuffler(long accountId, byte[] shufflingFullHash)
-
stopShuffler
public static Shuffler stopShuffler(long accountId, byte[] shufflingFullHash)
-
stopAllShufflers
public static void stopAllShufflers()
-
getAccountId
public long getAccountId()
-
getRecipientPublicKey
public byte[] getRecipientPublicKey()
-
getShufflingFullHash
public byte[] getShufflingFullHash()
-
getFailedTransaction
public Transaction getFailedTransaction()
-
getFailureCause
public NxtException.NotCurrentlyValidException getFailureCause()
-
-