public class FileTransferTool extends Tool
Constructor and Description |
---|
FileTransferTool()
Creates a new FileTransferTool.
|
Modifier and Type | Method and Description |
---|---|
void |
bosConnectionAvailable()
Method called by the LoginTool once the BOS connection is available.
|
void |
getFile(String sn)
Receive a file list from a buddy.
|
void |
sendFile(String sn,
String file)
Send a file.
|
void |
shutdown(AIMSession sess)
Called when the tool is shutting down.
|
getFamily, getId, getSession, getToolData, getVersion, setFamily, setId, setSession, setToolData, setVersion
public void sendFile(String sn, String file)
sn
- Buddy to sent it to.file
- Name of file to send.public void getFile(String sn)
sn
- a String
valuepublic void shutdown(AIMSession sess)
public void bosConnectionAvailable()
bosConnectionAvailable
in class Tool