-
Method Summary
Modifier and TypeMethodDescriptionvoidchannel()static <T> Subscription<T> createAccountSubscription(Commitment commitment, Channel channel, software.sava.core.accounts.PublicKey publicKey, long msgId, String msg, Consumer<Subscription<T>> onSub, Consumer<T> consumer) static <T> Subscription<T> createSubscription(Commitment commitment, Channel channel, String key, long msgId, String msg, Consumer<Subscription<T>> onSub, Consumer<T> consumer) key()longmsg()longmsgId()software.sava.core.accounts.PublicKeyvoidsetLastAttempt(long lastAttempt) voidsetSubId(long subId) longsubId()
-
Method Details
-
createAccountSubscription
static <T> Subscription<T> createAccountSubscription(Commitment commitment, Channel channel, software.sava.core.accounts.PublicKey publicKey, long msgId, String msg, Consumer<Subscription<T>> onSub, Consumer<T> consumer) -
createSubscription
static <T> Subscription<T> createSubscription(Commitment commitment, Channel channel, String key, long msgId, String msg, Consumer<Subscription<T>> onSub, Consumer<T> consumer) -
accept
-
channel
Channel channel() -
commitment
Commitment commitment() -
key
String key() -
publicKey
software.sava.core.accounts.PublicKey publicKey() -
msgId
long msgId() -
msg
String msg() -
lastAttempt
long lastAttempt() -
setLastAttempt
void setLastAttempt(long lastAttempt) -
subId
long subId() -
setSubId
void setSubId(long subId)
-