Re: [Asterisk-java-devel] Proposal for event cracker utility class
Brought to you by:
srt
From: Steve P. <sp...@ge...> - 2006-11-02 23:04:18
|
Stefan Reuter wrote: > Hi Steve, > > Steve Prior wrote: > >>Just to save others a LOT of tedious typing, I propose the following >>utility class to "crack" the generic event into a handler for the >>type specific event. I'm VERY flexible on the exact name for the >>class. Using the class is easy, here's the tutorial exmaple: > > > would you mind if we add this class to the "official" source tree and > publish it under the terms of the ASF? Not at all, that was my intent by posting it. Please note that my code was based on the 0.3 m1 code - if the event structure has changed since then my code could need tweaking. Actually that was part of my point in thinking the class should be part of the distribution - ideally a change in the Event class structure would be updated by the maintainers in the cracking class, so users of the API wouldn't be affected much. Thanks! Steve > > =Stefan |