|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrailo.runtime.net.ftp.FTPPoolImpl
public final class FTPPoolImpl
Pool of FTP Client
Constructor Summary | |
---|---|
FTPPoolImpl()
|
Method Summary | |
---|---|
void |
clear()
clears all connection from pool |
org.apache.commons.net.ftp.FTPClient |
get(FTPConnection conn)
returns a FTPClient from the pool, if no matching exist, create a new one |
org.apache.commons.net.ftp.FTPClient |
remove(FTPConnection conn)
removes a FTPConnection from pool andreturn it (disconnected) |
org.apache.commons.net.ftp.FTPClient |
remove(String name)
removes a FTPConnection from pool andreturn it (disconnected) |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FTPPoolImpl()
Method Detail |
---|
public org.apache.commons.net.ftp.FTPClient get(FTPConnection conn) throws IOException, ApplicationException
FTPPool
get
in interface FTPPool
IOException
ApplicationException
public org.apache.commons.net.ftp.FTPClient remove(FTPConnection conn)
FTPPool
remove
in interface FTPPool
public org.apache.commons.net.ftp.FTPClient remove(String name)
FTPPool
remove
in interface FTPPool
name
- Name of the connection to remove
public void clear()
FTPPool
clear
in interface FTPPool
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |