|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.walluck.oscar.tools.Tool
org.walluck.oscar.tools.FileTransferTool
public class FileTransferTool
Class FileTransferTool.
Field Summary |
---|
Fields inherited from class org.walluck.oscar.tools.Tool |
---|
listeners |
Constructor Summary | |
---|---|
FileTransferTool()
Creates a new FileTransferTool. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.walluck.oscar.tools.Tool |
---|
getFamily, getId, getSession, getToolData, getVersion, setFamily, setId, setSession, setToolData, setVersion |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileTransferTool()
Method Detail |
---|
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)
shutdown
in class Tool
sess
- the oscar sessionpublic void bosConnectionAvailable()
bosConnectionAvailable
in class Tool
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |