goldengate.ftp.simpleimpl.config
Class CircularIntValue
java.lang.Object
goldengate.ftp.simpleimpl.config.CircularIntValue
public class CircularIntValue
- extends Object
Circular Value used by passive connections to find the next valid port to
propose to the client.
- Author:
- Frederic Bregier
Constructor Summary |
CircularIntValue(int min,
int max)
Create a circular range of values |
Method Summary |
int |
getNext()
Get the next value |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CircularIntValue
public CircularIntValue(int min,
int max)
- Create a circular range of values
- Parameters:
min
- max
-
getNext
public int getNext()
- Get the next value
- Returns:
- the next value
Copyright © 2009-2012 Frederic Bregier. All Rights Reserved.