Interface IncomingConnectionManager.MatchListener

  • Enclosing class:
    IncomingConnectionManager

    public static interface IncomingConnectionManager.MatchListener
    Listener for byte matches.
    • 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 connectionMatched​(Transport transport, java.lang.Object routing_data)
      The given socket has been accepted as matching the byte filter.
    • 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:
      • connectionMatched

        void connectionMatched​(Transport transport,
                               java.lang.Object routing_data)
        The given socket has been accepted as matching the byte filter.
        Parameters:
        channel - matching accepted connection
        read_so_far - bytes already read