org.apache.ftpserver
Class PassivePorts
java.lang.Object
org.apache.ftpserver.PassivePorts
public class PassivePorts
- extends java.lang.Object
Provides support for parsing a passive ports string as well as
keeping track of reserved passive ports.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PassivePorts
public PassivePorts(java.lang.String passivePorts)
PassivePorts
public PassivePorts(int[] passivePorts)
reserveNextPort
public int reserveNextPort()
releasePort
public void releasePort(int port)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2003-2008 The Apache Software Foundation. All Rights Reserved.