public final class RangeTcpPortProvider extends Object implements TcpPortProvider, ConfigurationProvider
| Modifier and Type | Field and Description |
|---|---|
static RangeTcpPortProvider |
Default
Deprecated.
have an instance injected instead.
|
| Constructor and Description |
|---|
RangeTcpPortProvider(int portRangeBegin,
int portRangeCount,
int portRangeTryCount) |
| Modifier and Type | Method and Description |
|---|---|
Configuration |
getConfiguration()
returns a configuration for the class that implements TcpPortProvider so that class can be instantiated
somewhere else
|
Iterator<Integer> |
iterator()
Returns an iterator over a set of tcp ports
|
String |
toString() |
@Deprecated public static final RangeTcpPortProvider Default
@Inject public RangeTcpPortProvider(int portRangeBegin, int portRangeCount, int portRangeTryCount)
public Iterator<Integer> iterator()
iterator in interface Iterable<Integer>iterator in interface TcpPortProviderpublic Configuration getConfiguration()
TcpPortProvidergetConfiguration in interface ConfigurationProvidergetConfiguration in interface TcpPortProviderCopyright © 2015 The Apache Software Foundation. All rights reserved.