Interface PushChannelProps.IReceiptListener
- Enclosing class:
PushChannelProps
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
The listener of the receipts the client reports (P4-11): called on the connection's thread, never on a session worker; the server's listener hands the receipt to the engine's events, which post to the listening sessions' workers.
- Author:
- Christopher Mindus
Method Summary
Method Details
onReceipt
Called with aSHOWNorCLICKEDreport whose message ID is present.- Parameters:
params- The report's parameters:PushChannelProps.P_MESSAGE,PushChannelProps.P_APP_ID,PushChannelProps.P_TOPIC,PushChannelProps.P_SENT,PushChannelProps.P_TIME, and for a clickPushChannelProps.P_ACTION.clicked- true forCLICKED, false forSHOWN.