pub trait Reachable {
// Required method
fn is_reachable(&self, origin: Address, target: Address) -> bool;
}Expand description
Reachability oracle for delay-tolerant delivery.
The SRSPP sender queries this before transmitting. If
the target is unreachable from the origin, the message
goes to the MessageStore instead of the retransmit buffer.
Required Methods§
Sourcefn is_reachable(&self, origin: Address, target: Address) -> bool
fn is_reachable(&self, origin: Address, target: Address) -> bool
Returns true if target is reachable from
origin at this moment.