CatapultServer  v0.5.0.1 (Elephant)
catapult::model::TransactionNotification Struct Reference

Notifies the arrival of a transaction. More...

Inheritance diagram for catapult::model::TransactionNotification:
Collaboration diagram for catapult::model::TransactionNotification:

Public Member Functions

 TransactionNotification (const Key &signer, const Hash256 &transactionHash, EntityType transactionType, Timestamp deadline)
 Creates a transaction notification around signer, transactionHash, transactionType and deadline. More...
 
- Public Member Functions inherited from catapult::model::Notification
 Notification (NotificationType type, size_t size)
 Creates a new notification with type and size. More...
 

Public Attributes

const KeySigner
 Transaction signer. More...
 
const Hash256TransactionHash
 Transaction hash. More...
 
EntityType TransactionType
 Transaction type. More...
 
Timestamp Deadline
 Transaction deadline. More...
 
- Public Attributes inherited from catapult::model::Notification
NotificationType Type
 Notification type. More...
 
size_t Size
 Notification size. More...
 

Static Public Attributes

static constexpr auto Notification_Type = Core_Transaction_Notification
 Matching notification type. More...
 

Detailed Description

Notifies the arrival of a transaction.

Constructor & Destructor Documentation

◆ TransactionNotification()

catapult::model::TransactionNotification::TransactionNotification ( const Key signer,
const Hash256 transactionHash,
EntityType  transactionType,
Timestamp  deadline 
)
inline

Creates a transaction notification around signer, transactionHash, transactionType and deadline.

Member Data Documentation

◆ Deadline

Timestamp catapult::model::TransactionNotification::Deadline

Transaction deadline.

◆ Notification_Type

constexpr auto catapult::model::TransactionNotification::Notification_Type = Core_Transaction_Notification
staticconstexpr

Matching notification type.

◆ Signer

const Key& catapult::model::TransactionNotification::Signer

Transaction signer.

◆ TransactionHash

const Hash256& catapult::model::TransactionNotification::TransactionHash

Transaction hash.

◆ TransactionType

EntityType catapult::model::TransactionNotification::TransactionType

Transaction type.


The documentation for this struct was generated from the following file: