users@grizzly.java.net

(Pipeline vs ThreadPool) Re: [Jean-Francois Arcand's Blog] New Comment Posted to 'Writing a TCP/UDP stack supporting the SIP protocol using the Grizzly Framework, part II'

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Tue, 05 May 2009 12:15:43 -0400

Salut,

foo_at_bar.com wrote:
> A new comment has been posted on your blog Jean-Francois Arcand&#39;s Blog, on entry #10029 (Writing a TCP/UDP stack supporting the SIP protocol using the Grizzly Framework, part II).
>
>
> View this comment: <http://weblogs.java.net/blog/jfarcand/archive/2008/06/writing_a_tcpud_2.html>
> Edit this comment: <http://weblogs.java.net/mt/mt.cgi?__mode=view&blog_id=258&_type=comment&id=54354>
>
>
> Hi,
> I am new to Grizzly framework. I tried to run the SipServerDemo code in eclipse.I have included the grizzly-nio-framework 1.9.15.jar in the eclipse.But i saw the Pipeline and DefaultPipeline classes are missing in the jar.Can somebody assist me on this.
>

Staring with 1.9.0, Grizzly no longer supports Pipeline but instead
allow the configuration of ExecutorServices directly
(setThreadPool/getThreadPool). See:

https://grizzly.dev.java.net/nonav/apidocs/com/sun/grizzly/Controller.html#setThreadPool(java.util.concurrent.ExecutorService)

and

https://grizzly.dev.java.net/nonav/apidocs/com/sun/grizzly/TCPSelectorHandler.html#setThreadPool(java.util.concurrent.ExecutorService)

Thanks

-- Jeanfrancois