net.sf.jftp.net
Class ConnectionHandler
java.lang.Object
net.sf.jftp.net.ConnectionHandler
public class ConnectionHandler
- extends java.lang.Object
This class manages a connection pool.
You do not have to create an instance, but when you do use FtpConnection.setConnectionHandler
for each connection to make the connection recognize its handler.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectionHandler
public ConnectionHandler()
addConnection
public void addConnection(java.lang.String file,
Transfer t)
removeConnection
public void removeConnection(java.lang.String file)
getConnections
public java.util.Hashtable getConnections()
getConnectionSize
public int getConnectionSize()