com.borneo.ftp
Interface FileExchangeConnection
- public interface FileExchangeConnection
Method Summary |
void |
disconnect()
clean up the Net connection used to move files |
void |
getConnection(java.lang.String arg,
java.lang.String arg2,
java.lang.String arg3)
for connections to the server |
boolean |
getStatus()
gets the status of the connection |
void |
processFiles(Source arg,
Target arg2)
process files from a fileAssociation on the connection. |
getStatus
public boolean getStatus()
- gets the status of the connection
- Returns:
- a boolean indicate whether there should be activity on this connection. Are there files to move?
processFiles
public void processFiles(Source arg,
Target arg2)
- process files from a fileAssociation on the connection.
- Parameters:
arg
- Source from the XMLarg2
- Target from the XML
getConnection
public void getConnection(java.lang.String arg,
java.lang.String arg2,
java.lang.String arg3)
- for connections to the server
- Parameters:
arg
- Ip addressarg2
- user namearg3
- password
disconnect
public void disconnect()
- clean up the Net connection used to move files