org.walluck.oscar.handlers.filetransfer
Class FT
java.lang.Object
org.walluck.oscar.handlers.filetransfer.FT
- public class FT
- extends java.lang.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. |
Method Summary |
void |
sendFile(java.lang.String screenname,
java.lang.String filename,
int subtype,
java.lang.String message)
Send a file. |
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(java.lang.String screenname,
java.lang.String filename,
int subtype,
java.lang.String message)
throws java.io.IOException
- Send a file.
- Parameters:
screenname
- the screennamefilename
- the filenamesubtype
- the subtypemessage
- the message
- Throws:
java.io.IOException
- if an error occurs