Re: [Asterisk-java-devel] What are the differences between versions 0.3 and 0.3-m1?
Brought to you by:
srt
From: Stefan R. <ste...@re...> - 2006-10-11 19:58:35
|
Jes...@ha... wrote: >=20 > Hello all, >=20 > Asterisk newbie developer here, please bear with me. I have inherited a= > project that requires an upgrade to 0.3-m1 as that version puportedly > fixes an OutOfMemoryException bug that we were seeing. However the > upgrade broke our build. The ManagerConnection class no longer supports= > the method addEventHandler(ManagerEventHandler meh) but if I recall > correctly (it's been a couple days since I've looked at it) now only ha= s > the ability to add a Listener or something of the sort. Regardless, the= > methods apparently weren't deprecated as I would have expected but > simply *dropped* from the API altogether. Once we reach 1.0 we will of course maintain proper backwards compatibility and deprecate methods as you might be used to. With the 0.x releases this is currently not possible. > I was hoping to find some > documentation of the API changes in the 0.3-m1 release as I have a > broken app which needs to be fixed using the new API. The changes are documentd in the changelog provided with 0.3-m1: http://svn.reucon.net/repos/asterisk-java/tags/asterisk-java-0.3-m1/CHANG= ES important for you is: * Renamed ManagerEventHandler and ManagerResponseHandler to ManagerEventListener and SendActionCallback. so just implement ManagerEventListener and use addEventListener() > I'm assuming the > reworking shouldn't be that difficult to accomadate the API changes. > Hope not anyway. Any pointers to the newest APIs would be appreciated. No its really easy. API reference for 0.3-m1 is here: http://asterisk-java.org/0.3-m1/apidocs/index.html Hope that helps, Stefan --=20 reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: ste...@re... Jabber: ste...@re... |