1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-06-12 22:54:50 +02:00
Smack/smack-core/src/main/java/org/jivesoftware/smack
Florian Schmaus dde0cfd7f6 Fix incoming file transfers
With bb8dcc9874 the concept if IQ request
handlers was introduced in Smack. This doesn't allow packet/stanza
collectors/listeners to filter for incoming IQ requests. Unfortunately
the file transfer code relied on this being able, so it broke with the
change.

There were two places where the file transfer code was listening for
incoming IQ requests:
- InitationListener(s)
- Negotiator(s)

With this change, we let the InitiationListener signal the existence of
an incoming initation request, send by an IQ of type 'set', using the
newly created EventManager utility.

The negotiator waits for those events to arrive and proceedes as it would
have done when the packet collector was used.
2015-03-02 15:56:26 +01:00
..
compress/packet Rename PacketFilter (and implementing classes) and PacketExtension 2015-02-28 13:49:38 +01:00
compression Cleanup XMPPTCPConnection, mostly exception handling 2015-01-26 07:54:12 +01:00
debugger Rename PacketListener to StanzaListener 2015-03-02 15:49:56 +01:00
filter Rename PacketListener to StanzaListener 2015-03-02 15:49:56 +01:00
initializer Enable OSGi compliance via 'DynamicImport-Package: *' 2015-01-03 13:14:02 +01:00
iqrequest Add AbstractXMPPConnection.setReplyToUnkownIq(boolean) 2015-01-26 07:54:11 +01:00
packet Rename PacketFilter (and implementing classes) and PacketExtension 2015-02-28 13:49:38 +01:00
parsing Use CharSequence instead of String in parseContent() 2014-07-06 21:10:40 +02:00
provider Rename PacketFilter (and implementing classes) and PacketExtension 2015-02-28 13:49:38 +01:00
proxy Create smack.util.stringencoder for Base64, Base32,… 2014-09-04 11:07:55 +02:00
sasl Fix SASL X-OAUTH2: Use Base64.encode() instead of decode() 2015-02-23 08:49:30 +01:00
util Fix incoming file transfers 2015-03-02 15:56:26 +01:00
AbstractConnectionClosedListener.java Add and use AbstractConnectionClosedListener 2015-01-07 20:11:00 +01:00
AbstractConnectionListener.java Add 'resumed' bool ConnectionListener's authenticated() 2015-01-07 21:11:09 +01:00
AbstractXMPPConnection.java Fixed AbstractXMPPConnection.cachedExecutorService 2015-03-02 15:50:13 +01:00
ConnectionConfiguration.java Rename SecurityMode.enabled to 'ifpossible' 2015-02-13 17:01:09 +01:00
ConnectionCreationListener.java Make XMPPConnection an interface 2014-05-28 08:18:41 +02:00
ConnectionListener.java Remove protected getConnectionListeners() 2015-01-10 11:26:10 +01:00
ExceptionCallback.java Add an API to send and wait async for a response 2014-08-16 00:08:53 +02:00
Manager.java Add StringUtils.requireNotNullOrEmpty and Objects.requireNonNull 2015-01-26 20:47:09 +01:00
MessageListener.java Improve MUC message and presence listeners 2014-10-12 18:11:02 +02:00
package.html Prefix subprojects with 'smack-' 2014-04-28 19:44:14 +02:00
PacketCollector.java Rename PacketListener to StanzaListener 2015-03-02 15:49:56 +01:00
PacketListener.java Rename PacketListener to StanzaListener 2015-03-02 15:49:56 +01:00
PresenceListener.java Improve MUC message and presence listeners 2014-10-12 18:11:02 +02:00
ReconnectionManager.java Improve handling of InterruptedException 2015-01-16 17:31:10 +01:00
SASLAuthentication.java Add filter information to NoResponseException 2015-02-19 12:14:16 +01:00
SmackConfiguration.java Rename SmackConfiguration.DEBUG_ENABLED to DEBUG 2015-01-19 08:26:42 +01:00
SmackException.java Rename PacketFilter (and implementing classes) and PacketExtension 2015-02-28 13:49:38 +01:00
SmackInitialization.java Create smack-im subproject for XMPP-IM 2015-01-26 07:54:05 +01:00
StanzaListener.java Rename PacketListener to StanzaListener 2015-03-02 15:49:56 +01:00
SynchronizationPoint.java Add filter information to NoResponseException 2015-02-19 12:14:16 +01:00
XMPPConnection.java Rename PacketListener to StanzaListener 2015-03-02 15:49:56 +01:00
XMPPConnectionRegistry.java Make XMPPConnection an interface 2014-05-28 08:18:41 +02:00
XMPPException.java Improve message of StreamErrorException 2015-03-02 15:50:12 +01:00