[Advanced-java] basic event listener code
Viswanath Nandanavanam
nvishy127 at yahoo.com
Wed Mar 5 16:04:24 2003
---------------------- multipart/alternative attachment
Hi Friends,
I need sample code in implementing event-listner model (non AWT).
The problem description is like this,
I have an interface declared EventListner (not AWT, just named so).
This has a method called tell().
There is a SubscriptionListener class which implements this interface. There is another class SubscriptAcceptor that gets notified by the Subscription Listener class.
The problem is I should write code which will send a notification from
SubscriptListener to SubscriptAcceptor. This is a synchronous
communication say can be implemented like an event listner model. If I can get
some code outline of how to go abt that would do a world of good for me.
Thanks in advance
vishy
---------------------------------
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, and more
---------------------- multipart/alternative attachment
An HTML attachment was scrubbed...
URL: /lists/advanced-java/attachments/20030305/f92d6a23/attachment.htm
---------------------- multipart/alternative attachment--