Interface HubServerProp.IReplyListener
- Enclosing class:
HubServerProp
- 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.
- Author:
- Christopher Mindus
Method Summary
Method Details
onReply
Called with the outcome.- Parameters:
params- The reply's parameters, or null for a deadline.reason- Null when the peer answeredHubServerProp.P_OK; otherwise the peer'sHubServerProp.P_REASON,HubServerProp.REASON_TIMEOUTat the deadline, orHubServerProp.REASON_INTERNALfor a reply without a reason.