|
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.jabber.IncomingFileTransferJabberImpl
public class IncomingFileTransferJabberImpl
The Jabber protocol extension of the AbstractFileTransfer.
| Field Summary |
|---|
| Fields inherited from interface net.java.sip.communicator.service.protocol.FileTransfer |
|---|
IN, OUT |
| Constructor Summary | |
|---|---|
IncomingFileTransferJabberImpl(String id,
Contact sender,
File file,
org.jivesoftware.smackx.filetransfer.IncomingFileTransfer jabberTransfer)
Creates an IncomingFileTransferJabberImpl. |
|
| Method Summary | |
|---|---|
void |
cancel()
Cancels the file transfer. |
Contact |
getContact()
Returns the sender of the file. |
int |
getDirection()
The direction is incoming. |
String |
getID()
Returns the identifier of this file transfer. |
File |
getLocalFile()
Returns the local file that is being transferred or to which we transfer. |
long |
getTransferedBytes()
Returns the number of bytes already received from the recipient. |
| 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 IncomingFileTransferJabberImpl(String id,
Contact sender,
File file,
org.jivesoftware.smackx.filetransfer.IncomingFileTransfer jabberTransfer)
id - the identifier of this transfersender - the sender of the filefile - the filejabberTransfer - the Jabber file transfer object| Method Detail |
|---|
public void cancel()
cancel in interface FileTransfercancel in class AbstractFileTransferpublic long getTransferedBytes()
getTransferedBytes in interface FileTransfergetTransferedBytes in class AbstractFileTransferpublic int getDirection()
public Contact getContact()
public String getID()
public File getLocalFile()
|
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 | |||||||||