The type NotificationConfiguration, which can be used to create a NotificationProvider instance.
More...
|
Caplin.XLang.Container.Configuration | internalConfiguration |
|
The type NotificationConfiguration, which can be used to create a NotificationProvider instance.
Caplin.DataSource.Notification.NotificationConfiguration.NotificationConfiguration |
( |
string |
sourceName | ) |
|
|
inline |
Instantiates a new NotificationConfiguration.
The sourceName can anything but without spaces is preferable. It will appear in the logging.
- Parameters
-
virtual void Caplin.DataSource.Notification.NotificationConfiguration.SetDeltaUpdatesEnabled |
( |
bool |
deltaUpdatesEnabled | ) |
|
|
inlinevirtual |
Sets delta updates enabled/disabled.
- Parameters
-
deltaUpdatesEnabled | whether to enable or disable delta updates |
virtual void Caplin.DataSource.Notification.NotificationConfiguration.SetNotificationUsingImageFlag |
( |
bool |
useImageFlag | ) |
|
|
inlinevirtual |
Set the Notification records' image flags to be set to true on publishing initial message.
The default, recommended setting is true. The use case for setting to false is to prevent notifications' fields being overwritten when two providers provide for the same Notifications.
- Parameters
-
useImageFlag | boolean used to set the channel items image flags |
virtual string Caplin.DataSource.Notification.NotificationConfiguration.ChannelNamespace |
|
get |
virtual bool Caplin.DataSource.Notification.NotificationConfiguration.IsDeltaUpdatesEnabled |
|
get |
Gets delta updates enabled/disabled.
whether delta updates are enabled or disabled
virtual bool Caplin.DataSource.Notification.NotificationConfiguration.IsNotificationUsingImageFlag |
|
get |
Returns true if image flags are set to true on each Notification record for its initial message, otherwise false.
Returns true if Notification records use image flags
virtual string Caplin.DataSource.Notification.NotificationConfiguration.ItemNamespace |
|
get |
virtual string Caplin.DataSource.Notification.NotificationConfiguration.SourceName |
|
get |
Gets the notification source name.
the notification source name in the notification configuration