Interface IncomingConnectionManager.MatchListener

Enclosing class:
IncomingConnectionManager

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

      void connectionMatched(Transport transport, 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