Return-Path: Delivered-To: apmail-incubator-directory-dev-archive@www.apache.org Received: (qmail 93616 invoked from network); 1 Feb 2005 23:55:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 1 Feb 2005 23:55:43 -0000 Received: (qmail 77060 invoked by uid 500); 1 Feb 2005 23:55:43 -0000 Delivered-To: apmail-incubator-directory-dev-archive@incubator.apache.org Received: (qmail 77003 invoked by uid 500); 1 Feb 2005 23:55:43 -0000 Mailing-List: contact directory-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list directory-dev@incubator.apache.org Received: (qmail 76988 invoked by uid 99); 1 Feb 2005 23:55:42 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from ensim1.25oz.com (HELO ensim1.25oz.com) (216.40.203.202) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 01 Feb 2005 15:55:42 -0800 Received: from [192.168.0.100] (h002078d1eba8.ne.client2.attbi.com [66.30.206.209]) (authenticated bits=0) by ensim1.25oz.com (8.12.10/8.12.10) with ESMTP id j121DB9o031624 for ; Tue, 1 Feb 2005 20:13:12 -0500 Message-ID: <420016F6.2010900@apache.org> Date: Tue, 01 Feb 2005 18:55:34 -0500 From: Enrique Rodriguez User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Apache Directory Developers List Subject: Re: MINA unbind References: <41FEB027.2090309@apache.org> <768dcb2e050131163848b600cc@mail.gmail.com> In-Reply-To: <768dcb2e050131163848b600cc@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Trustin Lee wrote: > Hi, > > > On Mon, 31 Jan 2005 17:24:39 -0500, Enrique Rodriguez > 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