- All Known Subinterfaces:
StatefulConnectionFilter
- All Known Implementing Classes:
AccessFilter
public interface IncomingConnectionFilter
Something that filters incoming streaming connections.
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final IncomingConnectionFilterUtility implementation that allows all incoming connections.static final IncomingConnectionFilterUtility implementation that denies all incoming connections.Method Summary
All MethodsModifier and TypeMethodDescriptionbooleanCheck if the destination should be allowed to establish an incoming connection.
Field Details
ALLOW
Utility implementation that allows all incoming connections.DENY
Utility implementation that denies all incoming connections.
Method Details
allowDestination
Check if the destination should be allowed to establish an incoming connection.- Parameters:
d- the destination that wants to establish an incoming connection- Returns:
- true if the connection should be allowed.