directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Trustin Lee <trus...@gmail.com>
Subject Re: MINA unbind
Date Tue, 01 Feb 2005 00:38:55 GMT
Hi,


On Mon, 31 Jan 2005 17:24:39 -0500, Enrique Rodriguez
<erodriguez@apache.org> wrote:
> Trustin,
> 
> I am doing dynamic port changes with MINA.  What do I need to do to
> properly clean up a MINA service prior to re-binding.  Is it just as
> simple as IoProtocolAcceptor.unbind() or do I have to do anything with
> filter clean-up, such as track and stop() thread pool filters.

You'll have to:

* clean up filters
* stop the thread pool filter

ThreadPoolFilter is not stopped because it can be shared by other
connectors or acceptors.  And.. I'd better to add clearFilters method.
:)

> 
> Thanks.
> 
> -enrique
> 
> 

Cheers,
Trustin
-- 
what we call human nature is actually human habit
--
http://gleamynode.net/

Mime
View raw message