|
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.yahoo.FileTransferImpl
public class FileTransferImpl
The Filetransfer imeplementation for yahoo.
| Field Summary |
|---|
| Fields inherited from interface net.java.sip.communicator.service.protocol.FileTransfer |
|---|
IN, OUT |
| Constructor Summary | |
|---|---|
FileTransferImpl(ProtocolProviderServiceYahooImpl yahooProvider,
String id,
Contact contact,
File file,
int direction)
|
|
| Method Summary | |
|---|---|
void |
cancel()
Cancels this file transfer. |
Contact |
getContact()
Returns the contact that we are transfering 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 file that is transfered. |
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(ProtocolProviderServiceYahooImpl yahooProvider,
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 File getLocalFile()
public Contact getContact()
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 | |||||||||