|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sleepycat.je.rep.utilint.FreePortLocator
public class FreePortLocator
An iterator to iterate over the free ports on an interface.
Constructor Summary | |
---|---|
FreePortLocator(String hostname,
int portStart,
int portEnd)
Constructor identifying the interface and the port range within which to look for free ports. |
Method Summary | |
---|---|
int |
next()
Returns the next free port. |
void |
skip(int num)
Skip a number of ports. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FreePortLocator(String hostname, int portStart, int portEnd)
Method Detail |
---|
public int next()
public void skip(int num)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |