2020-08-08 Fred Gleason <fredg@paravelsystems.com>

* Implemented multicast notifications for RSS feed items.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2020-08-08 17:38:16 -04:00
parent 9a428ad855
commit b4cd2117ec
7 changed files with 113 additions and 3 deletions

View File

@@ -2,7 +2,7 @@
//
// A container class for a Rivendell Notification message.
//
// (C) Copyright 2018-2019 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2018-2020 Fred Gleason <fredg@paravelsystems.com>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
@@ -115,6 +115,10 @@ bool RDNotification::read(const QString &str)
notify_id=QVariant(args[3].toUInt());
break;
case RDNotification::FeedItemType:
notify_id=QVariant(args[3].toUInt());
break;
case RDNotification::NullType:
case RDNotification::LastType:
break;
@@ -166,6 +170,10 @@ QString RDNotification::write() const
ret+=QString().sprintf("%u",notify_id.toUInt());
break;
case RDNotification::FeedItemType:
ret+=QString().sprintf("%u",notify_id.toUInt());
break;
case RDNotification::NullType:
case RDNotification::LastType:
break;
@@ -199,6 +207,10 @@ QString RDNotification::typeString(RDNotification::Type type)
ret="CATCH_EVENT";
break;
case RDNotification::FeedItemType:
ret="FEED_ITEM";
break;
case RDNotification::NullType:
case RDNotification::LastType:
break;