Re: [Asterisk-java-users] Automatically start a pingthread when socket read timeout is set
Brought to you by:
srt
From: Gaëtan M. <gm...@ea...> - 2008-03-25 19:11:46
|
Hi Stefan, Granted you're right, that convenient function would be more appropriate in the live api, this wasn't intended. Gaetan On 25/03/2008, at 19:53, Stefan Reuter wrote: > Hi, > > the live API (org.asteriskjava.live.AsteriskServer and co) already > does > that. My idea is that the live API provides all kinds of convenient > stuff on top of the Manager API but the Manager API itself doe not do > anything unexpected and only what is absolutly required. > When using the live API and you still require to access the low level > Manager API methods you can retrieve the ManagerConnection from the > DefaultAsteriskServer. > > Does that make sense? > > =Stefan > > Gaëtan Minet wrote: >> Hi Stefan >> >> What do you think of automatically starting a pingthread on the >> connection if the client sets the socket read timeout, so the client >> code needn't bother with a reference to a thread ? >> Here is a micro-patch; >> >> Kind regards >> Gaetan > > -- > 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... > WWW: http://www.reucon.com > > Steuernummern 215/5140/1791 USt-IdNr. DE220701760 > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |