|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.service.protocol.AbstractFileTransfer
net.java.sip.communicator.impl.protocol.icq.FileTransferImpl
public class FileTransferImpl
The Filetransfer imeplementation for ICQ.
| Nested Class Summary | |
|---|---|
(package private) class |
FileTransferImpl.IcqFileTransferEventListener
Provides support for files sent and received. |
| Field Summary |
|---|
| Fields inherited from interface net.java.sip.communicator.service.protocol.FileTransfer |
|---|
IN, OUT |
| Constructor Summary | |
|---|---|
FileTransferImpl(net.kano.joustsim.oscar.oscar.service.icbm.ft.FileTransfer fileTransfer,
String id,
Contact contact,
File file,
int direction)
|
|
| Method Summary | |
|---|---|
void |
cancel()
Cancels this file transfer. |
Contact |
getContact()
Returns the contact that we are transferring files with. |
int |
getDirection()
The file transfer direction. |
String |
getID()
Uniquie ID that is identifying the FileTransfer if the request has been accepted. |
File |
getLocalFile()
Returns the local file that is being transferred or to which we transfer. |
long |
getTransferedBytes()
Returns the number of bytes already transfered through this file transfer. |
void |
setTransferedBytes(long transferedBytes)
|
| Methods inherited from class net.java.sip.communicator.service.protocol.AbstractFileTransfer |
|---|
addProgressListener, addStatusListener, fireProgressChangeEvent, fireStatusChangeEvent, fireStatusChangeEvent, getStatus, removeProgressListener, removeStatusListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileTransferImpl(net.kano.joustsim.oscar.oscar.service.icbm.ft.FileTransfer fileTransfer,
String id,
Contact contact,
File file,
int direction)
| Method Detail |
|---|
public void cancel()
cancel in interface FileTransfercancel in class AbstractFileTransferpublic long getTransferedBytes()
getTransferedBytes in interface FileTransfergetTransferedBytes in class AbstractFileTransferpublic String getID()
public int getDirection()
public Contact getContact()
public File getLocalFile()
public void setTransferedBytes(long transferedBytes)
transferedBytes - the transferedBytes to set
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||