1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-12-23 02:58:00 +01:00
Smack/test-unit/org/jivesoftware/smackx
Florian Schmaus b16f34f61e SMACK-458 Managers should be kept on disconnects
Smack's Managers should not remove itself when the connection is closed
or should re-add themselves if the connection get reconnected.

This should also fix some NPE's.

We are currently going with two different designs of Manager: 1. The one
with WeakReferences/WeakHashMaps (SDM, EntityCapsManager) and 2. the one
where the managers remove their listeners on connectionClosed() *and*
connectionClosedOnError(), and later add their listeners on
reconnectionSuccessful(). The first design has the Connection instance
only weak referenced. The other design does reference Connection
strongly (e.g. the 'managers' map in IBBManager/S5BManager), but removes
this references when connectionClosed(onError)() is called.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_3_2@13788 b35dd754-fafc-0310-a699-88a17e54d16e
2013-10-26 11:17:16 +00:00
..
bytestreams SMACK-458 Managers should be kept on disconnects 2013-10-26 11:17:16 +00:00
entitycaps SMACK-361 Changed default for filename encoding to Base 32 (which should work on all file systems) and added a Base 64 filename and url safe implementation of the StringEncoder. 2013-04-20 21:55:27 +00:00
filetransfer SMACK-458 Managers should be kept on disconnects 2013-10-26 11:17:16 +00:00
muc SMACK-352 Changed or removed copyright notices that should not have been attributed to Jive Software. 2013-04-07 19:15:32 +00:00
ping SMACK-412 Abstracted the keepalive implementation and set the thread to start and stop on demand. 2013-04-16 01:39:17 +00:00
provider improved Delay Information Parser (fixes SMACK-243) 2010-08-15 13:20:48 +00:00
pubsub SMACK-415 Added fix for handling the empty tag case. 2013-04-27 15:37:21 +00:00
receipts SMACK-458 Managers should be kept on disconnects 2013-10-26 11:17:16 +00:00
VCardUnitTest.java SMACK-413 fixed vCard parsing regarding the PHOTO element. Moved vCard test cases to unit-test where appropriate. Added testcases for vCard PHOTO parsing. 2013-03-23 00:30:59 +00:00