Interface IncomingConnectionManager.MatchListener
- Enclosing class:
- IncomingConnectionManager
public static interface IncomingConnectionManager.MatchListener
Listener for byte matches.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
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 transportsvoid
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
The given socket has been accepted as matching the byte filter.- Parameters:
channel
- matching accepted connectionread_so_far
- bytes already read
-