public abstract class FileTransferNegotiatorAbstract extends Object implements FileTransferNegotiator
FileTransferNegotiator.NegotiationFailureHandler, FileTransferNegotiator.NegotiationRejectHandler, FileTransferNegotiator.NegotiationRequestHandler, FileTransferNegotiator.NegotiationSuccessHandler
Modifier and Type | Field and Description |
---|---|
protected Context |
context |
protected FileTransferManager |
ftManager |
Constructor and Description |
---|
FileTransferNegotiatorAbstract() |
Modifier and Type | Method and Description |
---|---|
protected void |
fireOnFailure(FileTransfer ft,
Throwable ex) |
protected void |
fireOnReject(FileTransfer ft) |
protected void |
fireOnRequest(SessionObject sessionObject,
FileTransfer fileTransfer) |
protected void |
fireOnSuccess(FileTransfer ft) |
void |
setContext(Context context) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
acceptFile, getFeatures, isSupported, registerListeners, rejectFile, sendFile, unregisterListeners
protected Context context
protected FileTransferManager ftManager
protected void fireOnFailure(FileTransfer ft, Throwable ex)
protected void fireOnReject(FileTransfer ft)
protected void fireOnRequest(SessionObject sessionObject, FileTransfer fileTransfer)
protected void fireOnSuccess(FileTransfer ft)
public void setContext(Context context)
setContext
in interface ContextAware
Copyright © 2006–2023 Tigase. All rights reserved.