Interface NetworkManager.RoutingListener

Enclosing class:
NetworkManager

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

    Modifier and Type
    Method
    Description
    boolean
    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, Object routing_data)
    The given incoming connection has been accepted.
  • Method Details

    • 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, Object routing_data)
      The given incoming connection has been accepted.
      Parameters:
      connection - accepted