public static interface MessageLatencyManager.UpdateListener
MessageView
.Modifier and Type | Method and Description |
---|---|
void |
onUpdate(MessageBusBinding binding,
MessageView view,
MessageLatencyManager.MessagingDirection direction)
This is called when when latency stats have been calculated for the view.
|
void onUpdate(MessageBusBinding binding, MessageView view, MessageLatencyManager.MessagingDirection direction)
At present this is called for Inbound messages on receipt of the message prior to dispatch
to the application just after MessageView.setPostWireTs(long)
has been set. For outbound
messages this is called by binding (possibly on a detached thread after MessageView.setPreWireTs(long)
has been set.
MessageLatencyManager.UpdateListener
s MUST NOT:
MessageLatencyManager.UpdateListener
to access any state other the message passed
to it.view
- The MessageView
The message view for which stats were updated.direction
- Inbound indicates that this is being called for an inbound message, Outbound for an outbound message.Copyright © 2019 Neeve Research, LLC. All Rights Reserved.