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