public abstract class MessagingTransactionType extends ChildTransactionType
Modifier and Type | Class and Description |
---|---|
static class |
MessagingTransactionType.Event |
static class |
MessagingTransactionType.MessageEvent |
Modifier and Type | Field and Description |
---|---|
static TransactionType |
ARBITRARY_MESSAGE |
TYPE_ACCOUNT_CONTROL, TYPE_ACCOUNT_PROPERTY, TYPE_ALIASES, TYPE_ASSET_EXCHANGE, TYPE_CHILD_CHAIN_CONTROL, TYPE_COIN_EXCHANGE, TYPE_DATA, TYPE_DIGITAL_GOODS, TYPE_LIGHT_CONTRACT, TYPE_MESSAGING, TYPE_MONETARY_SYSTEM, TYPE_PAYMENT, TYPE_SHUFFLING, TYPE_VOTING
Modifier and Type | Method and Description |
---|---|
static boolean |
addListener(Listener<MessagingTransactionType.MessageEvent> listener,
MessagingTransactionType.Event eventType) |
boolean |
applyAttachmentUnconfirmed(ChildTransactionImpl transaction,
Account senderAccount) |
static TransactionType |
findTransactionType(byte subtype) |
byte |
getType() |
boolean |
isGlobal() |
static boolean |
removeListener(Listener<MessagingTransactionType.MessageEvent> listener,
MessagingTransactionType.Event eventType) |
void |
undoAttachmentUnconfirmed(ChildTransactionImpl transaction,
Account senderAccount) |
apply, applyAttachment, applyAttachment, applyAttachmentUnconfirmed, applyUnconfirmed, findTransactionType, getBaselineFee, getInvolvedChildChains, getInvolvedChildChains, undoAttachmentUnconfirmed, undoUnconfirmed, validateAttachment, validateAttachment, validateId, validateId
canHaveRecipient, getBaselineFeeHeight, getLedgerEvent, getName, getNextFee, getNextFeeHeight, getSubtype, isBlockDuplicate, isDuplicate, isDuplicate, isDuplicate, isPhasable, isPhasingSafe, isPruned, isUnconfirmedDuplicate, mustHaveRecipient, parseAttachment, parseAttachment, toString
public static final TransactionType ARBITRARY_MESSAGE
public static TransactionType findTransactionType(byte subtype)
public final byte getType()
getType
in class TransactionType
public final boolean applyAttachmentUnconfirmed(ChildTransactionImpl transaction, Account senderAccount)
applyAttachmentUnconfirmed
in class ChildTransactionType
public final void undoAttachmentUnconfirmed(ChildTransactionImpl transaction, Account senderAccount)
undoAttachmentUnconfirmed
in class ChildTransactionType
public final boolean isGlobal()
isGlobal
in class TransactionType
public static boolean addListener(Listener<MessagingTransactionType.MessageEvent> listener, MessagingTransactionType.Event eventType)
public static boolean removeListener(Listener<MessagingTransactionType.MessageEvent> listener, MessagingTransactionType.Event eventType)