[jboss-user] [Remoting] - Re: Procedure to cleanly remove the listener?

tom.elrod@jboss.com do-not-reply at jboss.com
Tue Nov 7 15:23:02 EST 2006


Sounds like you are talking about use of Client.addConnectionListener(ConnectionListener listener, int pingPeriod).  Fom looking at latest remoting code base, after the connection notifier is fired so that all the ConnectionListeners are notified, the connection notifier is stopped, so should not receive any further notifications.  Also, if call Client.removeConnectionListener(ConnectionListener listener) and is the only registered listener, will then also stop the connection notifier.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983908#3983908

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983908



More information about the jboss-user mailing list