public class FileTransferModule extends Object implements tigase.jaxmpp.core.client.XmppModule
| Modifier and Type | Class and Description |
|---|---|
static interface |
FileTransferModule.FileTransferRequestHandler |
| Modifier and Type | Field and Description |
|---|---|
static String |
XMLNS_SI |
static String |
XMLNS_SI_FILE |
| Constructor and Description |
|---|
FileTransferModule(tigase.jaxmpp.core.client.Context context) |
| Modifier and Type | Method and Description |
|---|---|
void |
acceptStreamInitiation(FileTransfer ft,
String id,
String streamMethod) |
void |
addFileTransferRequestHandler(FileTransferModule.FileTransferRequestHandler handler) |
tigase.jaxmpp.core.client.criteria.Criteria |
getCriteria() |
String[] |
getFeatures() |
void |
process(tigase.jaxmpp.core.client.xml.Element element) |
void |
process(tigase.jaxmpp.core.client.xmpp.stanzas.IQ iq) |
void |
rejectStreamInitiation(FileTransfer ft,
String id) |
void |
removeFileTransferRequestHandler(FileTransferModule.FileTransferRequestHandler handler) |
void |
sendNoValidStreams(FileTransferModule.FileTransferRequestHandler.FileTransferRequestEvent be) |
void |
sendStreamInitiationOffer(FileTransfer ft,
String[] streamMethods,
tigase.jaxmpp.core.client.AsyncCallback callback) |
public static final String XMLNS_SI
public static final String XMLNS_SI_FILE
public FileTransferModule(tigase.jaxmpp.core.client.Context context)
public void acceptStreamInitiation(FileTransfer ft, String id, String streamMethod) throws tigase.jaxmpp.core.client.exceptions.JaxmppException
tigase.jaxmpp.core.client.exceptions.JaxmppExceptionpublic void addFileTransferRequestHandler(FileTransferModule.FileTransferRequestHandler handler)
public tigase.jaxmpp.core.client.criteria.Criteria getCriteria()
getCriteria in interface tigase.jaxmpp.core.client.XmppModulepublic String[] getFeatures()
getFeatures in interface tigase.jaxmpp.core.client.XmppModulepublic void process(tigase.jaxmpp.core.client.xml.Element element)
throws tigase.jaxmpp.core.client.exceptions.JaxmppException
process in interface tigase.jaxmpp.core.client.XmppModuletigase.jaxmpp.core.client.exceptions.JaxmppExceptionpublic void process(tigase.jaxmpp.core.client.xmpp.stanzas.IQ iq)
throws tigase.jaxmpp.core.client.exceptions.JaxmppException
tigase.jaxmpp.core.client.exceptions.JaxmppExceptionpublic void rejectStreamInitiation(FileTransfer ft, String id) throws tigase.jaxmpp.core.client.exceptions.JaxmppException
tigase.jaxmpp.core.client.exceptions.JaxmppExceptionpublic void removeFileTransferRequestHandler(FileTransferModule.FileTransferRequestHandler handler)
public void sendNoValidStreams(FileTransferModule.FileTransferRequestHandler.FileTransferRequestEvent be) throws tigase.jaxmpp.core.client.exceptions.JaxmppException
tigase.jaxmpp.core.client.exceptions.JaxmppExceptionpublic void sendStreamInitiationOffer(FileTransfer ft, String[] streamMethods, tigase.jaxmpp.core.client.AsyncCallback callback) throws tigase.jaxmpp.core.client.exceptions.JaxmppException
tigase.jaxmpp.core.client.exceptions.JaxmppExceptionCopyright © 2006–2018 Tigase. All rights reserved.