Package tigase.xmpp.impl.push
Interface PushNotificationsExtension
- All Superinterfaces:
PushNotificationsAware
- All Known Implementing Classes:
AwayPushNotificationsExtension,EncryptedPushNotificationExtension,GroupchatPushNotificationsExtension,JinglePushNotificationsExtension,PriorityExtension
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidprepareNotificationPayload(tigase.xml.Element pushServiceSettings, Packet packet, long msgCount, tigase.xml.Element notification) default voidsetPushNotifications(PushNotifications pushNotifications) booleanshouldSendNotification(Packet packet, BareJID userJid, XMPPResourceConnection session) Methods inherited from interface tigase.xmpp.impl.push.PushNotificationsAware
getDiscoFeatures, processEnableElement
-
Method Details
-
shouldSendNotification
boolean shouldSendNotification(Packet packet, BareJID userJid, XMPPResourceConnection session) throws XMPPException - Throws:
XMPPException
-
prepareNotificationPayload
default void prepareNotificationPayload(tigase.xml.Element pushServiceSettings, Packet packet, long msgCount, tigase.xml.Element notification) -
setPushNotifications
-