|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.walluck.oscar.handlers.icq.tcp.FileTransfer
public class FileTransfer
ICQ file transfer.
Field Summary | |
---|---|
static int |
FT_STATE_CONFIRMING_FILE
Describe constant FT_STATE_CONFIRMING_FILE here. |
static int |
FT_STATE_DISCONNECTED
Describe constant FT_STATE_DISCONNECTED here. |
static int |
FT_STATE_HANDSHAKE
Describe constant FT_STATE_HANDSHAKE here. |
static int |
FT_STATE_RECEIVING_FILE
Describe constant FT_STATE_RECEIVING_FILE here. |
static int |
FT_STATE_SENDING_FILE
Describe constant FT_STATE_SENDING_FILE here. |
static int |
FT_STATE_WAIT_FOR_CLIENT_INIT
Describe constant FT_STATE_WAIT_FOR_CLIENT_INIT here. |
static int |
FT_STATE_WAIT_FOR_FILE_INFO
Describe constant FT_STATE_WAIT_FOR_FILE_INFO here. |
static int |
FT_STATE_WAIT_FOR_SERVER_INIT
Describe constant FT_STATE_WAIT_FOR_SERVER_INIT here. |
static int |
FT_STATE_WAIT_FOR_START
Describe constant FT_STATE_WAIT_FOR_START here. |
Constructor Summary | |
---|---|
FileTransfer()
Creates a new ICQ file transfer. |
Method Summary | |
---|---|
void |
info(String fileName,
int fileSize)
Describe info method here. |
void |
initClient(String localName,
int numFiles,
long totSize)
Describe initClient method here. |
void |
initServer(String localName)
Describe initServer method here. |
void |
setSpeed(int speed)
Describe setSpeed method here. |
void |
start(int filePos,
int file)
Describe start method here. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int FT_STATE_DISCONNECTED
FT_STATE_DISCONNECTED
here.
public static final int FT_STATE_HANDSHAKE
FT_STATE_HANDSHAKE
here.
public static final int FT_STATE_WAIT_FOR_CLIENT_INIT
FT_STATE_WAIT_FOR_CLIENT_INIT
here.
public static final int FT_STATE_WAIT_FOR_SERVER_INIT
FT_STATE_WAIT_FOR_SERVER_INIT
here.
public static final int FT_STATE_WAIT_FOR_START
FT_STATE_WAIT_FOR_START
here.
public static final int FT_STATE_WAIT_FOR_FILE_INFO
FT_STATE_WAIT_FOR_FILE_INFO
here.
public static final int FT_STATE_RECEIVING_FILE
FT_STATE_RECEIVING_FILE
here.
public static final int FT_STATE_SENDING_FILE
FT_STATE_SENDING_FILE
here.
public static final int FT_STATE_CONFIRMING_FILE
FT_STATE_CONFIRMING_FILE
here.
Constructor Detail |
---|
public FileTransfer()
Method Detail |
---|
public void initClient(String localName, int numFiles, long totSize) throws IOException
initClient
method here.
localName
- a String
valuenumFiles
- an int
valuetotSize
- a long
value
IOException
- if an error occurspublic void initServer(String localName) throws IOException
initServer
method here.
localName
- a String
value
IOException
- if an error occurspublic void info(String fileName, int fileSize) throws IOException
info
method here.
fileName
- a String
valuefileSize
- an int
value
IOException
- if an error occurspublic void start(int filePos, int file) throws IOException
start
method here.
filePos
- an int
valuefile
- an int
value
IOException
- if an error occurspublic void setSpeed(int speed) throws IOException
setSpeed
method here.
speed
- an int
value
IOException
- if an error occurs
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |