RE: [Asterisk-java-users] ManagerReader Interrupt
Brought to you by:
srt
From: King H. <kin...@ne...> - 2006-03-04 12:46:14
|
Found it under the SVN directory!! King -----Original Message----- From: King Ho [mailto:kin...@ne...]=20 Sent: Saturday, March 04, 2006 8:43 PM To: 'ast...@li...' Subject: RE: [Asterisk-java-users] ManagerReader Interrupt Is there any documentation describing the changes between 0.2 and 0.3? Thanks. King -----Original Message----- From: ast...@li... = [mailto:ast...@li...] On Behalf Of = Stefan Reuter Sent: Saturday, March 04, 2006 8:33 PM To: ast...@li... Subject: Re: [Asterisk-java-users] ManagerReader Interrupt 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 = interrupt. >=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... |