@Bean(name="priority", parent=PushNotifications.class, active=true) public class PriorityExtension extends Object implements PushNotificationsExtension
| Constructor and Description |
|---|
PriorityExtension() |
| Modifier and Type | Method and Description |
|---|---|
Element[] |
getDiscoFeatures() |
void |
prepareNotificationPayload(Element pushServiceSettings,
Packet packet,
long msgCount,
Element notification) |
void |
processEnableElement(Element enableEl,
Element settingsEl) |
boolean |
shouldSendNotification(Packet packet,
BareJID userJid,
XMPPResourceConnection session) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetPushNotificationspublic Element[] getDiscoFeatures()
getDiscoFeatures in interface PushNotificationsAwarepublic boolean shouldSendNotification(Packet packet, BareJID userJid, XMPPResourceConnection session) throws XMPPException
shouldSendNotification in interface PushNotificationsExtensionXMPPExceptionpublic void processEnableElement(Element enableEl, Element settingsEl)
processEnableElement in interface PushNotificationsAwarepublic void prepareNotificationPayload(Element pushServiceSettings, Packet packet, long msgCount, Element notification)
prepareNotificationPayload in interface PushNotificationsExtensionCopyright © 2004–2021 "Tigase, Inc.". All rights reserved.