Interface IAppSessionPushNotificationAPI

All Superinterfaces:
IPushNotificationCommonAPI
All Known Implementing Classes:
AppSessionPushAPI

public interface IAppSessionPushNotificationAPI extends IPushNotificationCommonAPI
The Push Notification (PN) API of one application session: the fan-out sends, and the calls that need a particular client, which take that client and delegate to its IPushNotificationAPI.

Obtained from IAppSessionGyro.getPushNotificationAPI(). Everything in IPushNotificationCommonAPI applies, in particular the threading rule: every callback runs on this application session's worker thread, including the callbacks of the delegating calls, whose client-side result is handed over from the client session's worker.

Sends from application code are trusted. The application's own server code needs no PN privilege (PUSH-WIRE-CONTRACT section 4): privileges govern the HTTP API only. What a send may reach is still bounded to this application's subscriptions.

Author:
Christopher Mindus