You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Trustin Lee <tr...@gmail.com> on 2005/02/01 01:38:55 UTC
Re: MINA unbind
Hi,
On Mon, 31 Jan 2005 17:24:39 -0500, Enrique Rodriguez
<er...@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/
Re: MINA unbind
Posted by Enrique Rodriguez <er...@apache.org>.
Trustin Lee wrote:
> Hi,
>
>
> On Mon, 31 Jan 2005 17:24:39 -0500, Enrique Rodriguez
> <er...@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. Seems to work fine with stop()'s and unbind()'s. I'll watch
for the clearFilters();
-enrique
>
>
>>Thanks.
>>
>>-enrique
>>
>>
>
>
> Cheers,
> Trustin