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

Notifies the arrival of a transaction deadline. More...

Inheritance diagram for catapult::model::TransactionDeadlineNotification:
Collaboration diagram for catapult::model::TransactionDeadlineNotification:

Public Member Functions

 TransactionDeadlineNotification (Timestamp deadline, utils::TimeSpan maxLifetime)
 Creates a transaction deadline notification around deadline and maxLifetime. 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

Timestamp Deadline
 Transaction deadline. More...
 
utils::TimeSpan MaxLifetime
 
- 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_Deadline_Notification
 Matching notification type. More...
 

Detailed Description

Notifies the arrival of a transaction deadline.

Constructor & Destructor Documentation

◆ TransactionDeadlineNotification()

catapult::model::TransactionDeadlineNotification::TransactionDeadlineNotification ( Timestamp  deadline,
utils::TimeSpan  maxLifetime 
)
inline

Creates a transaction deadline notification around deadline and maxLifetime.

Member Data Documentation

◆ Deadline

Timestamp catapult::model::TransactionDeadlineNotification::Deadline

Transaction deadline.

◆ MaxLifetime

utils::TimeSpan catapult::model::TransactionDeadlineNotification::MaxLifetime

Custom maximum transaction lifetime.

Note
If 0, default network-specific maximum will be used.

◆ Notification_Type

constexpr auto catapult::model::TransactionDeadlineNotification::Notification_Type = Core_Transaction_Deadline_Notification
staticconstexpr

Matching notification type.


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