You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by Prabhakar jinkala <jp...@gmail.com> on 2008/09/25 11:20:36 UTC

How to stop the listener

Hello
I am new to MINA. Can anyone know which method will be called when we stop
the listener. (by using CTRL+C)

Thanks in advance.

Regards
Prabhakar

Re: How to stop the listener

Posted by "W.B. Garvelink" <ba...@gmail.com>.
MINA doesn't invoke anything. The JVM terminates and frees its
operating system resources. If you want to respond to CTRL-C, try
Runtime.getRuntime().addShutdownHook(...).




On Thu, Sep 25, 2008 at 11:20 AM, Prabhakar jinkala <jp...@gmail.com> wrote:
> Hello
> I am new to MINA. Can anyone know which method will be called when we stop
> the listener. (by using CTRL+C)
>
> Thanks in advance.
>
> Regards
> Prabhakar
>