|
||||||||||
| 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
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(java.lang.String fileName,
int fileSize)
Describe info method here. |
void |
initClient(java.lang.String localName,
int numFiles,
long totSize)
Describe initClient method here. |
void |
initServer(java.lang.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(java.lang.String localName,
int numFiles,
long totSize)
throws java.io.IOException
initClient method here.
localName - a String valuenumFiles - an int valuetotSize - a long value
java.io.IOException - if an error occurs
public void initServer(java.lang.String localName)
throws java.io.IOException
initServer method here.
localName - a String value
java.io.IOException - if an error occurs
public void info(java.lang.String fileName,
int fileSize)
throws java.io.IOException
info method here.
fileName - a String valuefileSize - an int value
java.io.IOException - if an error occurs
public void start(int filePos,
int file)
throws java.io.IOException
start method here.
filePos - an int valuefile - an int value
java.io.IOException - if an error occurs
public void setSpeed(int speed)
throws java.io.IOException
setSpeed method here.
speed - an int value
java.io.IOException - if an error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||