[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jacorb-developer
Subject:    Re: [jacorb-developer] name service cmd line parsing error
From:       Gerald Brose <gerald.brose () xtradyne ! com>
Date:       2004-02-19 16:52:14
Message-ID: 4034E9BE.7020703 () xtradyne ! com
[Download RAW message or body]

Thanks, that is correct!

Gerald.

Drake Henderson wrote:
> The main method in the name service appears to incorrectly parse
> arguments, resulting in the inablity to set a timeout value.  
>  
> I added a second idx++ to the below code just below the first idx++ so
> that it would pick up the timeout.
>  
>         if (idx < args.length && args[idx].startsWith("-p")) {
>           if (idx + 1 < args.length) {
>             port = args[idx + 1];
>             idx++;
>           } else
>             usage();
>         }
>  
> Has anyone ever used the timeout value to induce persistence?  There
> doesn't appear to be an alternate way to set the shutdown timeout.
>  
>  
> 
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> jacorb-developer maillist  -  jacorb-developer@lists.spline.inf.fu-berlin.de
> http://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer


-- 
Dr. Gerald Brose                        mailto:brose@xtradyne.com
Xtradyne Technologies                     http://www.xtradyne.com
Schoenhauser Allee 6-7,                  Phone: +49-30-440 306-27
D-10119 Berlin, Germany                  Fax  : +49-30-440 306-78


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic