1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-12-23 13:07:59 +01:00
No description
Find a file
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
build Versioning updates for new release. 2013-10-07 02:42:12 +00:00
documentation SMACK-431 Reworded Entity Caps documentation, added missing frame link 2013-06-24 21:27:43 +00:00
jingle/extension SMACK-352 Changed or removed copyright notices that should not have been attributed to Jive Software. 2013-04-07 19:15:32 +00:00
sample Fixed smack sample for updated API 2009-09-03 08:42:07 +00:00
source SMACK-458 Managers should be kept on disconnects 2013-10-26 11:17:16 +00:00
test Versioning updates for new release. 2013-10-07 02:42:12 +00:00
test-unit/org/jivesoftware SMACK-458 Managers should be kept on disconnects 2013-10-26 11:17:16 +00:00
Makefile Makefile: added javadoc target 2013-02-14 00:00:02 +00:00