Package net.i2p.client.streaming
Interface IncomingConnectionFilter
- All Known Subinterfaces:
StatefulConnectionFilter
- All Known Implementing Classes:
AccessFilter
public interface IncomingConnectionFilter
Something that filters incoming streaming connections.
- Since:
- 0.9.40
-
Field Summary
Modifier and TypeFieldDescriptionstatic final IncomingConnectionFilter
Utility implementation that allows all incoming connectionsstatic final IncomingConnectionFilter
Utility implementation that denies all incoming connections -
Method Summary
-
Field Details
-
ALLOW
Utility implementation that allows all incoming connections -
DENY
Utility implementation that denies all incoming connections
-
-
Method Details
-
allowDestination
- Parameters:
d
- the destination that wants to establish an incoming connection- Returns:
- true if the connection should be allowed.
-