public static class RangeStreamer.WhitelistedSourcesFilter extends java.lang.Object implements RangeStreamer.ISourceFilter
Constructor and Description |
---|
WhitelistedSourcesFilter(java.util.Set<java.net.InetAddress> whitelistedSources) |
Modifier and Type | Method and Description |
---|---|
boolean |
shouldInclude(java.net.InetAddress endpoint) |
public WhitelistedSourcesFilter(java.util.Set<java.net.InetAddress> whitelistedSources)
public boolean shouldInclude(java.net.InetAddress endpoint)
shouldInclude
in interface RangeStreamer.ISourceFilter
Copyright © 2020 The Apache Software Foundation