public void sendAdvertisement ( final BasicTrustGraphAdvertisement message , final TrustGraphNodeId sender , final TrustGraphNodeId toNeighbor , final int ttl ) { final BasicTrustGraphAdvertisement outboundMessage = message . copyWith ( sender , ttl ) ; final TrustGraphNode toNode = nodes . get ( toNeighbor ) ; toNode . handleAdvertisement ( outboundMessage ) ; }
send a local advertisement to the node specified with the given ttl .