org.walluck.oscar.handlers.filetransfer
Class FT
java.lang.Object
org.walluck.oscar.handlers.filetransfer.FT
public class FT
- extends Object
This is supposed to end up being a higher level implementation of
the functionality in the ICBMHandler and FileTransfer classes,
meaning, this should be the API that the client calls.
- Since:
- 1.0
- Version:
- 1.0
- Author:
- David Walluck
Constructor Summary |
FT(AIMSession sess,
byte[] cookie)
Creates a new FT. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FT
public FT(AIMSession sess,
byte[] cookie)
- Creates a new FT.
- Parameters:
sess
- the oscar sessioncookie
- the cookie.
sendFile
public void sendFile(String screenname,
String filename,
int subtype,
String message)
throws IOException
- Send a file.
- Parameters:
screenname
- the screennamefilename
- the filenamesubtype
- the subtypemessage
- the message
- Throws:
IOException
- if an error occurs