Interface PushChannelProps.IReplyListener
- 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 a request's outcome: called ONCE, on the connection's thread for a reply and on the timer's thread for a deadline, never on a session worker - the caller posts.
- Author:
- Christopher Mindus
Method Summary
Modifier and TypeMethodDescriptionvoidonReply(PropCnr params, PushNotificationException failure) Called with the outcome.
Method Details
onReply
Called with the outcome.- Parameters:
params- The reply's parameters when the client answeredok, otherwise the parameters of the failed reply, or null for a deadline.failure- Null when the client answeredok; otherwise the failure, its reason the client'sPushChannelProps.P_REASONortimeoutat the deadline.