Source and listener

What do you mean by the term source and listener?

E

Expert

Verified

The source is an object which produces an event. This takes place when the internal state of that object changes in a certain manner. A listener is an object which is notified whenever an event takes place. It consists of two major requirements. First, it should have been registered with a source to receive the notifications regarding specific event. Second, it should implement essential methods to receive and process such notifications.

   Related Questions in Programming Languages

2015 ©TutorsGlobe All rights reserved. TutorsGlobe Rated 4.8/5 based on 34139 reviews.