railo.runtime.net.ftp
Interface FTPPool

All Known Implementing Classes:
FTPPoolImpl

public interface FTPPool

FTP Pool


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)
 

Method Detail

get

org.apache.commons.net.ftp.FTPClient get(FTPConnection conn)
                                         throws IOException,
                                                PageException
returns a FTPClient from the pool, if no matching exist, create a new one

Parameters:
conn -
Returns:
Matching FTP Client
Throws:
IOException
PageException

remove

org.apache.commons.net.ftp.FTPClient remove(FTPConnection conn)
removes a FTPConnection from pool andreturn it (disconnected)

Parameters:
conn -
Returns:
disconnetd Client

remove

org.apache.commons.net.ftp.FTPClient remove(String name)
removes a FTPConnection from pool andreturn it (disconnected)

Parameters:
name - Name of the connection to remove
Returns:
disconnetd Client

clear

void clear()
clears all connection from pool



Copyright © 2012 Railo