Re: [Asterisk-java-users] ManagerReader Interrupt
Brought to you by:
srt
From: Brett S. <bs...@no...> - 2006-03-04 20:13:33
|
Stephan, Thanks for the fix. Is the 0.3 branch considered stable? Regards, Brett King Ho wrote: > 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. >> >> 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=40&r2=81 > > Thanks! > > =Stefan > > |