Browse by Tags

All Tags » Item 22 (RSS)
Clarification: Item 22
Elided code was not clearly marked Both listener classes on p. 134 should include a private declaration of the Logger Singleton class: private static Logger logger; This declaration was removed from the code listing, but not discussed in the text.

Posted by wwagner | with no comments

Filed under:

Questions and answers about events and threads
This pertains to Item 22, and Item 45. Question 1: Can you further explain the idiom you recommend on top of page 133 (see below) to raise an event. Specifically, how does making a copy of the reference provide protection? // add a message, and log it...

Posted by wwagner | with no comments

Filed under: ,