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

Notification of a source change. More...

Inheritance diagram for catapult::model::SourceChangeNotification:
Collaboration diagram for catapult::model::SourceChangeNotification:

Public Types

enum  SourceChangeType { SourceChangeType::Absolute, SourceChangeType::Relative }
 Source change types. More...
 

Public Member Functions

 SourceChangeNotification (SourceChangeType primaryChangeType, uint32_t primaryId, SourceChangeType secondaryChangeType, uint32_t secondaryId)
 Creates a notification around primaryChangeType, primaryId, secondaryChangeType and secondaryId. 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

SourceChangeType PrimaryChangeType
 Type of primary source change. More...
 
uint32_t PrimaryId
 Primary source (e.g. index within block). More...
 
SourceChangeType SecondaryChangeType
 Type of secondary source change. More...
 
uint32_t SecondaryId
 Secondary source (e.g. index within aggregate). 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_Source_Change_Notification
 Matching notification type. More...
 

Detailed Description

Notification of a source change.

Member Enumeration Documentation

◆ SourceChangeType

Source change types.

Enumerator
Absolute 
Relative 

Constructor & Destructor Documentation

◆ SourceChangeNotification()

catapult::model::SourceChangeNotification::SourceChangeNotification ( SourceChangeType  primaryChangeType,
uint32_t  primaryId,
SourceChangeType  secondaryChangeType,
uint32_t  secondaryId 
)
inline

Creates a notification around primaryChangeType, primaryId, secondaryChangeType and secondaryId.

Member Data Documentation

◆ Notification_Type

constexpr auto catapult::model::SourceChangeNotification::Notification_Type = Core_Source_Change_Notification
staticconstexpr

Matching notification type.

◆ PrimaryChangeType

SourceChangeType catapult::model::SourceChangeNotification::PrimaryChangeType

Type of primary source change.

◆ PrimaryId

uint32_t catapult::model::SourceChangeNotification::PrimaryId

Primary source (e.g. index within block).

◆ SecondaryChangeType

SourceChangeType catapult::model::SourceChangeNotification::SecondaryChangeType

Type of secondary source change.

◆ SecondaryId

uint32_t catapult::model::SourceChangeNotification::SecondaryId

Secondary source (e.g. index within aggregate).


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