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
Fields Modifier and Type Field Description static IncomingConnectionFilter
ALLOW
Utility implementation that allows all incoming connectionsstatic IncomingConnectionFilter
DENY
Utility implementation that denies all incoming connections -
Method Summary
Modifier and Type Method Description boolean
allowDestination(Destination d)
-
Field Details
-
Method Details
-
allowDestination
- Parameters:
d
- the destination that wants to establish an incoming connection- Returns:
- true if the connection should be allowed.
-