directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Enrique Rodriguez <erodrig...@apache.org>
Subject Re: MINA unbind
Date Tue, 01 Feb 2005 23:55:34 GMT
Trustin Lee wrote:
> 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.  Seems to work fine with stop()'s and unbind()'s.  I'll watch 
for the clearFilters();

-enrique


> 
> 
>>Thanks.
>>
>>-enrique
>>
>>
> 
> 
> Cheers,
> Trustin

Mime
View raw message