CatapultServer  v0.5.0.1 (Elephant)
catapult::model::AddressInteractionNotification Struct Reference
Inheritance diagram for catapult::model::AddressInteractionNotification:
Collaboration diagram for catapult::model::AddressInteractionNotification:

Public Member Functions

 AddressInteractionNotification (const Key &source, EntityType transactionType, const UnresolvedAddressSet &participantsByAddress)
 Creates a notification around source, transactionType and participantsByAddress. More...
 
 AddressInteractionNotification (const Key &source, EntityType transactionType, const UnresolvedAddressSet &participantsByAddress, const utils::KeySet &participantsByKey)
 Creates a notification around source, transactionType, participantsByAddress and participantsByKey. 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

Key Source
 Source. More...
 
EntityType TransactionType
 Transaction type. More...
 
UnresolvedAddressSet ParticipantsByAddress
 Participants given by address. More...
 
utils::KeySet ParticipantsByKey
 Participants given by public key. 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_Address_Interaction_Notification
 Matching notification type. More...
 

Detailed Description

Notifies that a source address interacts with participant addresses.

Note
This notification cannot be used by an observer.

Constructor & Destructor Documentation

◆ AddressInteractionNotification() [1/2]

catapult::model::AddressInteractionNotification::AddressInteractionNotification ( const Key source,
EntityType  transactionType,
const UnresolvedAddressSet participantsByAddress 
)
inline

Creates a notification around source, transactionType and participantsByAddress.

◆ AddressInteractionNotification() [2/2]

catapult::model::AddressInteractionNotification::AddressInteractionNotification ( const Key source,
EntityType  transactionType,
const UnresolvedAddressSet participantsByAddress,
const utils::KeySet participantsByKey 
)
inline

Creates a notification around source, transactionType, participantsByAddress and participantsByKey.

Member Data Documentation

◆ Notification_Type

constexpr auto catapult::model::AddressInteractionNotification::Notification_Type = Core_Address_Interaction_Notification
staticconstexpr

Matching notification type.

◆ ParticipantsByAddress

UnresolvedAddressSet catapult::model::AddressInteractionNotification::ParticipantsByAddress

Participants given by address.

◆ ParticipantsByKey

utils::KeySet catapult::model::AddressInteractionNotification::ParticipantsByKey

Participants given by public key.

◆ Source

Key catapult::model::AddressInteractionNotification::Source

Source.

◆ TransactionType

EntityType catapult::model::AddressInteractionNotification::TransactionType

Transaction type.


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