Package tigase.xmpp.impl.push
Class MeetPushNotificationExtension
java.lang.Object
tigase.xmpp.impl.push.MeetPushNotificationExtension
- All Implemented Interfaces:
PushNotificationsAware,PushNotificationsExtension,PushNotificationsFilter
@Bean(name="meet",
parent=PushNotifications.class,
active=true)
public class MeetPushNotificationExtension
extends Object
implements PushNotificationsExtension, PushNotificationsFilter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisSendingNotificationAllowed(BareJID userJid, XMPPResourceConnection session, Element pushServiceSettings, Packet packet) voidprepareNotificationPayload(Element pushServiceSettings, Packet packet, long msgCount, Element notification) voidprocessEnableElement(Element enableEl, Element settingsEl) booleanshouldSendNotification(Packet packet, BareJID userJid, XMPPResourceConnection session) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface tigase.xmpp.impl.push.PushNotificationsAware
getDiscoFeaturesMethods inherited from interface tigase.xmpp.impl.push.PushNotificationsExtension
prepareNotificationPayload, setPushNotifications
-
Constructor Details
-
MeetPushNotificationExtension
public MeetPushNotificationExtension()
-
-
Method Details
-
processEnableElement
- Specified by:
processEnableElementin interfacePushNotificationsAware
-
prepareNotificationPayload
public void prepareNotificationPayload(Element pushServiceSettings, Packet packet, long msgCount, Element notification) - Specified by:
prepareNotificationPayloadin interfacePushNotificationsExtension
-
shouldSendNotification
public boolean shouldSendNotification(Packet packet, BareJID userJid, XMPPResourceConnection session) throws XMPPException - Specified by:
shouldSendNotificationin interfacePushNotificationsExtension- Throws:
XMPPException
-
isSendingNotificationAllowed
public boolean isSendingNotificationAllowed(BareJID userJid, XMPPResourceConnection session, Element pushServiceSettings, Packet packet) - Specified by:
isSendingNotificationAllowedin interfacePushNotificationsFilter
-