Interface NetworkManager.RoutingListener

  • Enclosing class:
    NetworkManager

    public static interface NetworkManager.RoutingListener
    Listener for routing events.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean autoCryptoFallback()
      Currently if message crypto is on and default fallback for incoming not enabled then we would bounce incoming messages from non-crypto transports For example, NAT check This method allows auto-fallback for such transports
      void connectionRouted​(NetworkConnection connection, java.lang.Object routing_data)
      The given incoming connection has been accepted.
    • Method Detail

      • autoCryptoFallback

        boolean autoCryptoFallback()
        Currently if message crypto is on and default fallback for incoming not enabled then we would bounce incoming messages from non-crypto transports For example, NAT check This method allows auto-fallback for such transports
        Returns:
      • connectionRouted

        void connectionRouted​(NetworkConnection connection,
                              java.lang.Object routing_data)
        The given incoming connection has been accepted.
        Parameters:
        connection - accepted