net.i2p.router.transport

## Interface TransportEventListener

- All Known Implementing Classes:
    TransportManager

      public interface TransportEventListener

  Handles transport events including message receipt and address changes.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `messageReceived(I2NPMessage message, RouterIdentity fromRouter, Hash fromRouterHash)` Message received
    `void` | `transportAddressChanged()`

- - ### Method Detail

    - #### messageReceived

          void messageReceived(I2NPMessage message,
                               RouterIdentity fromRouter,
                               Hash fromRouterHash)

      Message received
      Parameters:
        `message` - non-null
        `fromRouter` - may be null
        `fromRouterHash` - may be null, calculated from fromRouter if null

    - #### transportAddressChanged

          void transportAddressChanged()