Class OutboundMessageDistributor

java.lang.Object
net.i2p.router.tunnel.OutboundMessageDistributor

class OutboundMessageDistributor extends Object
When a message arrives at the outbound tunnel endpoint, this distributor honors the instructions.
  • Constructor Details

    • OutboundMessageDistributor

      public OutboundMessageDistributor(RouterContext ctx, int priority)
      Parameters:
      priority - OutNetMessage.PRIORITY_PARTICIPATING for somebody else's OBEP, or OutNetMessage.PRIORITY_MY_DATA for our own zero-hop OBGW/EP
  • Method Details

    • distribute

      public void distribute(I2NPMessage msg, Hash target)
      Warning - as of 0.9.63, msg will be an UnknownI2NPMessage, and must be converted before handling locally.
    • distribute

      public void distribute(I2NPMessage msg, Hash target, TunnelId tunnel)
      Warning - as of 0.9.63, msg will be an UnknownI2NPMessage, and must be converted before handling locally.