The neighbor can no longer be reached for now. Messages sent to it wait in its queue again.
Marks the neighbor ready and delivers its waiting messages in order, skipping any that expired. Returns true only when the neighbor was not ready before, so callers act once per transition.
Number of messages still waiting for the neighbor.
Delivers now if the neighbor is ready, otherwise queues. A ttlMs of 0 means the message never expires. Returns true when the message was delivered immediately.
Drops every queued message whose time to live has run out. Returns how many were dropped.
For a neighbor declared down or unreachable: what was waiting for it may no longer make sense, so it is dropped. Returns how many messages were dropped.