1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-16 01:02:06 +01:00
Smack/test-unit/org/jivesoftware/smackx/bytestreams/socks5
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
..
InitiationListenerTest.java SMACK-458 Managers should be kept on disconnects 2013-10-26 11:17:16 +00:00
Socks5ByteStreamManagerTest.java SMACK-458 Managers should be kept on disconnects 2013-10-26 11:17:16 +00:00
Socks5ByteStreamRequestTest.java merged branch improve_bytestreams in trunk 2010-08-15 11:57:11 +00:00
Socks5ClientForInitiatorTest.java merged branch improve_bytestreams in trunk 2010-08-15 11:57:11 +00:00
Socks5ClientTest.java merged branch improve_bytestreams in trunk 2010-08-15 11:57:11 +00:00
Socks5PacketUtils.java merged branch improve_bytestreams in trunk 2010-08-15 11:57:11 +00:00
Socks5ProxyTest.java Fix issue with Socks5ProxyTest: The read() method throws an Exception if the socket is closed. Catch this Exception and report the testcase as successful. 2013-01-04 11:47:53 +00:00
Socks5TestProxy.java merged branch improve_bytestreams in trunk 2010-08-15 11:57:11 +00:00