public abstract class Payload extends Object
Constructor and Description |
---|
Payload() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
byte[] |
getBytes()
Get the serialized payload.
|
protected abstract byte[] |
getRawPayloadBytes()
This must return the raw payload i.e., the
payload only.
|
abstract TransactionType |
getTransactionType() |
public final byte[] getBytes()
TransactionType
public abstract TransactionType getTransactionType()
protected abstract byte[] getRawPayloadBytes()
getBytes()
Copyright © 2025. All rights reserved.