Re: [Asterisk-java-users] ManagerReader Interrupt
Brought to you by:
srt
From: Stefan R. <sr...@re...> - 2006-03-04 12:33:21
|
Brett Sutton wrote: > I believe a better way of dealing with this problem is to use > Object.wait(x) and Object.notify. For the purposes of sendAction the > affects are identical without the nasty side effects of calling interru= pt. >=20 > I hope this makes some sense. yes it makes a lot of sense. I followed your suggestion and it seems to work nicely. It also simplifies DefaultManagerConnection. Its in 0.3 now - if you have a chance please test the latest version from svn trunk: http://svn.reucon.net/repos/asterisk-java/trunk here is the diff: http://svn.reucon.net/fisheye/viewrep/repos/asterisk-java/trunk/src/main/= java/org/asteriskjava/manager/DefaultManagerConnection.java?r1=3D40&r2=3D= 81 Thanks! =3DStefan --=20 reuter network consulting Neusser Str. 110 50760 K=C3=B6ln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: sr...@re... Jabber: sr...@ja... |