Discussion:
[Beepcore-java-users] double registration of channels and sessions
Daan Hoogland
2005-07-26 06:52:18 UTC
Permalink
LS,

In the class SessionImpl, sessionListeners and channelListeners are
registered in a LinkedList and in an array. The LinkedList is
synchronised, but the code synchronising the array with the state of the
linked list isn't.
Does anyone know a good reason for this double registration?
Or does anybody know how the library will break if the array (and the
access to it) is removed?
--
<insert value="your favorite astute quote" id="sigquote" />
-----------------------------
Daan Hoogland
software architect
-----------------------------
***@luminis.nl
0620442544
www.luminis.nl
-----------------------------
<or ref="sigquote" />
Loading...