Mar. 1st, 2005

bellwether: (Default)
The weekend was long and emotional. 45 hours of Engaged Encounter make for a very tired Kevin. As [livejournal.com profile] morganlf has mentioned, it was quite long, quite tiring, and often quite silly. The Irish priest was the best part though, especially when he started in on the mother-in-law jokes. :)

Today has been mostly uneventful--coding and working on my qual presentation. Anyone know anything about extensible event dispatch in Java? I need a good data structure to represent arbitary EventReceivers (objects implementing an EventReceiver interface) who are interested in different types of events (all subclassing a common Event class). In the past I've created a Vector per event type to represent all interested EventReceivers and then notified all the Vector elements when an incoming event matches. This isn't very extensible though, since as I add new event types to the system I have to create more recipient vectors, etc. I'd also like to be able to match on internal event structure, although I'm worried about associated overhead....

Anyone done anything like this? Read papers on a similar topic? Point me at them! :)

Profile

bellwether: (Default)
bellwether

May 2009

S M T W T F S
     1 2
3456789
10111213141516
17181920212223
24252627282930
31      

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 9th, 2025 02:02 pm
Powered by Dreamwidth Studios