org.walluck.oscar.handlers.filetransfer
Class FT

java.lang.Object
  extended by 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.
 
Method Summary
 void sendFile(String screenname, String filename, int subtype, String message)
          Send a file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FT

public FT(AIMSession sess,
          byte[] cookie)
Creates a new FT.

Parameters:
sess - the oscar session
cookie - the cookie.
Method Detail

sendFile

public void sendFile(String screenname,
                     String filename,
                     int subtype,
                     String message)
              throws IOException
Send a file.

Parameters:
screenname - the screenname
filename - the filename
subtype - the subtype
message - the message
Throws:
IOException - if an error occurs