Interface IPushNotificationListener


public interface IPushNotificationListener
Observer of the Push Notification (PN) events of one session's user and application, registered with IPushNotificationCommonAPI.addPushNotificationListener(IPushNotificationListener) and held in a com.iizix.GenericListener.

Every method is called on the worker thread of the session whose API the listener was added to, never on an engine, transport, servlet, database or WebSocket thread. Every method has an empty default, so a listener implements only the events it wants.

Receipts can repeat. One notification can be reported more than once by one device: shown in-session and by device push on the same Browser under DeliveryMode.BOTH, or drained from the Service Worker's queue by a page that also saw it live. The server drops a repeat of the same (message, device, kind, action) reported within 10 minutes and delivers one older than that (PUSH-PROPS-DESIGN section 7.4, ruled 2026-09-24 RR-13 A): an application that keys on the message ID sees at most one per window, and should tolerate a late second.

Author:
Christopher Mindus