users@grizzly.java.net

Transport start/stop automatically on demand?

From: Bo Li <b.li_at_sun.com>
Date: Mon, 15 Mar 2010 14:13:01 -0500

Hi Alexey

Is there a way for the TCPNIOTransport to start and stop automatically? In our SDK, we don't want to expose Grizzly to the end users. It would be nice if Grizzly starts the transport when at least one connection is created and stops when all the connections are closed. This avoid the end users from having to call some sort of start/stop method explicitly.

Thanks
Bo