[Beepcore-java-users] double registration of channels and sessions
Status: Beta
Brought to you by:
huston
From: Daan H. <daa...@lu...> - 2005-07-26 08:51:54
|
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 ----------------------------- daa...@lu... 0620442544 www.luminis.nl ----------------------------- <or ref="sigquote" /> |