users@grizzly.java.net

How do I close a Grizzly listener?

From: Mark Hig <mark.higginbottom_at_gmail.com>
Date: Thu, 3 Jul 2008 02:37:54 -0700 (PDT)

Hi,

I am following the example of an Asyncronous Server. I have the server up
and running and passing messages into my framework for processing. However,
how do I shut down the server gracefully?

I need to stop the listener from accepting incoming requests until all
outstanding requests/connections have been serviced and closed. Then to shut
down the listener completely or to start accepting requests again.

Also, how do I configure the backlog setting on the listener socket?

Thanks,

Mark

-- 
View this message in context: http://www.nabble.com/How-do-I-close-a-Grizzly-listener--tp18255544p18255544.html
Sent from the Grizzly - Users mailing list archive at Nabble.com.