@Bean(name="encrypted", parent=PushNotifications.class, active=true) public class EncryptedPushNotificationExtension extends Object implements PushNotificationsExtension
| Constructor and Description |
|---|
EncryptedPushNotificationExtension() |
| 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 static final String XMLNS
public 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–2020 "Tigase, Inc.". All rights reserved.