|
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.impl.protocol.msn.IncomingFileTransferRequestMsnImpl
public class IncomingFileTransferRequestMsnImpl
Msn implementation of the incoming file transfer request
| Constructor Summary | |
|---|---|
IncomingFileTransferRequestMsnImpl(OperationSetFileTransferMsnImpl fileTransferOpSet,
net.sf.jml.MsnFileTransfer incomingFileTransfer,
Contact sender,
Date date)
Constructor |
|
| Method Summary | |
|---|---|
FileTransfer |
acceptFile(File file)
Function called to accept and receive the file. |
Date |
getDate()
|
String |
getFileDescription()
Returns a String that represents the description of the file that is being received. |
String |
getFileName()
Returns a String that represents the name of the file that is being received. |
long |
getFileSize()
Returns a long that represents the size of the file that is being received. |
String |
getID()
Uniquie ID that is identifying the request and then the FileTransfer if the request has been accepted. |
Contact |
getSender()
Returns a String that represents the name of the sender of the file being received. |
byte[] |
getThumbnail()
Returns the thumbnail contained in this request. |
boolean |
isRejected()
|
void |
rejectFile()
Function called to refuse the file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IncomingFileTransferRequestMsnImpl(OperationSetFileTransferMsnImpl fileTransferOpSet,
net.sf.jml.MsnFileTransfer incomingFileTransfer,
Contact sender,
Date date)
incomingFileTransfer - MSN file transfer request that was received| Method Detail |
|---|
public String getID()
getID in interface IncomingFileTransferRequestpublic String getFileName()
getFileName in interface IncomingFileTransferRequestpublic String getFileDescription()
getFileDescription in interface IncomingFileTransferRequestpublic long getFileSize()
getFileSize in interface IncomingFileTransferRequestpublic Contact getSender()
getSender in interface IncomingFileTransferRequestpublic FileTransfer acceptFile(File file)
acceptFile in interface IncomingFileTransferRequestfile - the file to accept
public void rejectFile()
rejectFile in interface IncomingFileTransferRequestpublic byte[] getThumbnail()
IncomingFileTransferRequest
getThumbnail in interface IncomingFileTransferRequestpublic Date getDate()
public boolean isRejected()
|
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 | |||||||||