public class Socks5FileTransferNegotiator extends FileTransferNegotiatorAbstract implements ConnectionManager.ConnectionEstablishedHandler, tigase.jaxmpp.core.client.xmpp.modules.filetransfer.FileTransferModule.FileTransferRequestHandler
ConnectionManager.ConnectionEstablishedHandler.ConnectionEstablishedEventtigase.jaxmpp.core.client.xmpp.modules.filetransfer.FileTransferModule.FileTransferRequestHandler.FileTransferRequestEventFileTransferNegotiator.NegotiationFailureHandler, FileTransferNegotiator.NegotiationRejectHandler, FileTransferNegotiator.NegotiationRequestHandler, FileTransferNegotiator.NegotiationSuccessHandlercontext, ftManager| Constructor and Description |
|---|
Socks5FileTransferNegotiator() |
| Modifier and Type | Method and Description |
|---|---|
void |
acceptFile(tigase.jaxmpp.core.client.JaxmppCore jaxmpp,
tigase.jaxmpp.core.client.xmpp.modules.filetransfer.FileTransfer ft) |
String[] |
getFeatures() |
boolean |
isSupported(tigase.jaxmpp.core.client.JaxmppCore jaxmpp,
tigase.jaxmpp.core.client.xmpp.modules.filetransfer.FileTransfer ft) |
void |
onConnectionEstablished(tigase.jaxmpp.core.client.SessionObject sessionObject,
tigase.jaxmpp.core.client.xmpp.modules.connection.ConnectionSession connectionSession,
Socket socket) |
void |
onFileTransferRequest(tigase.jaxmpp.core.client.SessionObject sessionObject,
tigase.jaxmpp.core.client.xmpp.modules.filetransfer.FileTransfer fts,
String id,
List<String> streamMethods) |
void |
registerListeners(tigase.jaxmpp.core.client.JaxmppCore jaxmpp) |
void |
rejectFile(tigase.jaxmpp.core.client.JaxmppCore jaxmpp,
tigase.jaxmpp.core.client.xmpp.modules.filetransfer.FileTransfer ft) |
void |
sendFile(tigase.jaxmpp.core.client.JaxmppCore jaxmpp,
tigase.jaxmpp.core.client.xmpp.modules.filetransfer.FileTransfer ft) |
void |
sendFile2(tigase.jaxmpp.core.client.JaxmppCore jaxmpp,
FileTransfer ft) |
void |
setContext(tigase.jaxmpp.core.client.Context context) |
void |
unregisterListeners(tigase.jaxmpp.core.client.JaxmppCore jaxmpp) |
fireOnFailure, fireOnReject, fireOnRequest, fireOnSuccesspublic void acceptFile(tigase.jaxmpp.core.client.JaxmppCore jaxmpp,
tigase.jaxmpp.core.client.xmpp.modules.filetransfer.FileTransfer ft)
throws tigase.jaxmpp.core.client.exceptions.JaxmppException
acceptFile in interface FileTransferNegotiatortigase.jaxmpp.core.client.exceptions.JaxmppExceptionpublic String[] getFeatures()
getFeatures in interface FileTransferNegotiatorpublic boolean isSupported(tigase.jaxmpp.core.client.JaxmppCore jaxmpp,
tigase.jaxmpp.core.client.xmpp.modules.filetransfer.FileTransfer ft)
isSupported in interface FileTransferNegotiatorpublic void onConnectionEstablished(tigase.jaxmpp.core.client.SessionObject sessionObject,
tigase.jaxmpp.core.client.xmpp.modules.connection.ConnectionSession connectionSession,
Socket socket)
throws tigase.jaxmpp.core.client.exceptions.JaxmppException
onConnectionEstablished in interface ConnectionManager.ConnectionEstablishedHandlertigase.jaxmpp.core.client.exceptions.JaxmppExceptionpublic void onFileTransferRequest(tigase.jaxmpp.core.client.SessionObject sessionObject,
tigase.jaxmpp.core.client.xmpp.modules.filetransfer.FileTransfer fts,
String id,
List<String> streamMethods)
onFileTransferRequest in interface tigase.jaxmpp.core.client.xmpp.modules.filetransfer.FileTransferModule.FileTransferRequestHandlerpublic void registerListeners(tigase.jaxmpp.core.client.JaxmppCore jaxmpp)
registerListeners in interface FileTransferNegotiatorpublic void rejectFile(tigase.jaxmpp.core.client.JaxmppCore jaxmpp,
tigase.jaxmpp.core.client.xmpp.modules.filetransfer.FileTransfer ft)
throws tigase.jaxmpp.core.client.exceptions.JaxmppException
rejectFile in interface FileTransferNegotiatortigase.jaxmpp.core.client.exceptions.JaxmppExceptionpublic void sendFile(tigase.jaxmpp.core.client.JaxmppCore jaxmpp,
tigase.jaxmpp.core.client.xmpp.modules.filetransfer.FileTransfer ft)
throws tigase.jaxmpp.core.client.exceptions.JaxmppException
sendFile in interface FileTransferNegotiatortigase.jaxmpp.core.client.exceptions.JaxmppExceptionpublic void sendFile2(tigase.jaxmpp.core.client.JaxmppCore jaxmpp,
FileTransfer ft)
throws tigase.jaxmpp.core.client.exceptions.JaxmppException
tigase.jaxmpp.core.client.exceptions.JaxmppExceptionpublic void setContext(tigase.jaxmpp.core.client.Context context)
setContext in interface tigase.jaxmpp.core.client.xmpp.modules.ContextAwaresetContext in class FileTransferNegotiatorAbstractpublic void unregisterListeners(tigase.jaxmpp.core.client.JaxmppCore jaxmpp)
unregisterListeners in interface FileTransferNegotiatorCopyright © 2006–2018 Tigase. All rights reserved.