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

Notification of a root namespace registration. More...

Inheritance diagram for catapult::model::RootNamespaceNotification:
Collaboration diagram for catapult::model::RootNamespaceNotification:

Public Member Functions

 RootNamespaceNotification (const Key &signer, NamespaceId namespaceId, BlockDuration duration)
 Creates a notification around signer, namespaceId and duration. 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
 Signer. More...
 
catapult::NamespaceId NamespaceId
 Id of the namespace. More...
 
BlockDuration Duration
 Number of blocks for which the namespace should be valid. 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 = Namespace_Root_Registration_Notification
 Matching notification type. More...
 

Detailed Description

Notification of a root namespace registration.

Constructor & Destructor Documentation

◆ RootNamespaceNotification()

catapult::model::RootNamespaceNotification::RootNamespaceNotification ( const Key signer,
NamespaceId  namespaceId,
BlockDuration  duration 
)
inline

Creates a notification around signer, namespaceId and duration.

Member Data Documentation

◆ Duration

BlockDuration catapult::model::RootNamespaceNotification::Duration

Number of blocks for which the namespace should be valid.

◆ NamespaceId

catapult::NamespaceId catapult::model::RootNamespaceNotification::NamespaceId

Id of the namespace.

◆ Notification_Type

constexpr auto catapult::model::RootNamespaceNotification::Notification_Type = Namespace_Root_Registration_Notification
staticconstexpr

Matching notification type.

◆ Signer

const Key& catapult::model::RootNamespaceNotification::Signer

Signer.


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