Allow ConnectionListeners to be added before Connection is connected. Currently throws exception

Description

Connections don't allow connection listeners to be added until after being connected, which doesn't seem to make much sense.

This behavior was introduced with cs6050. The commit message reads "3) Improved javadoc (and checking) that reconnectionlisteners should be added once connected.", so it seems releated to the ReconnectionListener.

Environment

None

Activity

Show:

Florian Schmaus 
March 23, 2013 at 10:42 AM

Both issues are about Listeners of a (XMPP)Connection instance. Maybe the feature solution solves both issues.

Florian Schmaus 
February 25, 2013 at 7:42 PM

Not really a blocker, but should be fixed before SMACK-339.

Fixed

Details

Assignee

Reporter

Ignite Forum URL

Components

Fix versions

Affects versions

Priority

Created May 17, 2011 at 6:50 PM
Updated October 28, 2020 at 1:28 PM
Resolved November 2, 2013 at 11:46 AM