org.walluck.oscar.handlers.filetransfer
Class FT

java.lang.Object
  extended byorg.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
 

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(java.lang.String screenname,
                     java.lang.String filename,
                     int subtype,
                     java.lang.String message)
              throws java.io.IOException
Send a file.

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