users@grizzly.java.net

Need help upgrading

From: Bill Simons <bill.simons_at_gmail.com>
Date: Tue, 26 May 2009 14:20:01 -0400

I'm upgrading from grizzly version 1.8.6 to 1.9.15a and could use some
advice. It seems that the Controller class no longer has a Pipeline
and I'm not sure if it is safe for me to just remove the related code
or if I need to replace it with something. In 1.8.6 my controller
initialization code looked like:

        controller = new Controller();
        controller.addSelectorHandler( tcpSelectorHandler );

        Pipeline<Callable> pipeline = new DefaultPipeline();
        pipeline.setMaxThreads( 5 );
        controller.setPipeline( pipeline );

What is the equivalent of this in 1.9.15a?

Thanks,
Bill