1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-06-18 09:24:49 +02:00
Smack/smack-extensions/src/main/java/org/jivesoftware/smackx/bytestreams/socks5
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
..
packet Rename IQ.ELEMENT to IQ.IQ_ELEMENT 2015-01-11 21:54:46 +01:00
provider Rework Smack Provider design 2014-10-08 16:01:14 +02:00
InitiationListener.java Fix incoming file transfers 2015-03-02 15:56:26 +01:00
Socks5BytestreamListener.java Prefix subprojects with 'smack-' 2014-04-28 19:44:14 +02:00
Socks5BytestreamManager.java s/ a XMPP/ an XMPP/ 2015-02-12 12:13:19 +01:00
Socks5BytestreamRequest.java Rename 'Packet' class to 'Stanza' 2015-02-06 09:34:51 +01:00
Socks5BytestreamSession.java Prefix subprojects with 'smack-' 2014-04-28 19:44:14 +02:00
Socks5Client.java Enable more 'checkstyle' checks 2014-08-15 23:17:45 +02:00
Socks5ClientForInitiator.java s/ a XMPP/ an XMPP/ 2015-02-12 12:13:19 +01:00
Socks5Proxy.java Improve Socks5 Bytestreams 2014-08-19 19:00:43 +02:00
Socks5Utils.java Add SCRAM-SHA1 support 2014-10-21 15:03:48 +02:00