Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!.POSTED!not-for-mail From: Lew Newsgroups: comp.lang.java.programmer Subject: Re: opening isdn connection with external file Date: Wed, 29 Feb 2012 00:48:19 -0800 Organization: albasani.net Lines: 40 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.albasani.net R6a9GhEr7A04kB869IxS3iH6+pB/dvkr5z/DZ3acK9+ik88vv49LWdr/nQAQ3ym31sjL6DhvnnA7LqZ+4gi/s6TzasDeF64eTiwB7DXexIRhv1i0L0/1p/eDf6LyOjBw NNTP-Posting-Date: Wed, 29 Feb 2012 08:48:19 +0000 (UTC) Injection-Info: news.albasani.net; logging-data="XPa/9+LRtLbGby2giawkiBDmIDbVkcpZyuiodk/UeI2LGCeaH3aqHIpDOj2WgtHftQzPDZxBkPv/poMYyYP7z9Z+7LUQ+7P/5ehMbhU4BzPks/0VRhdmuYPEHdjuHDvK"; mail-complaints-to="abuse@albasani.net" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 In-Reply-To: Cancel-Lock: sha1:qS725S3+BmEifDJP0qPNfPHZs2g= Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:12520 nescafe wrote: > Lew wrote: >> nescafe wrote: >>> OK. >>> I do have one more question. >>> If i open isdn connection and directly after that i open some data >>> logger i >>> can not close the same isdn connection ** automatically** on data logger >>> closing. Basicaly, i close data logger program but isdn connections is >>> still >>> connected. >>> >>> Shortly: >>> open isdn connection >>> open datalogger >>> close datalogger >>> close isdn connection. >>> >>> When program starts, he opens isdn and when i X-it the datalogger, >>> isdn should >>> be closed and not before. >> >> Wrap the datalogger part in a 'try{}' and close the ISDN in the >> 'finally{}'. >> > ----------- > i can not do this beacuse im using bat file to do this: > cd.. > cd prog > cd cms > cms.exe > > I didnt implement this into code. Oh, well. -- Lew Honi soit qui mal y pense. http://upload.wikimedia.org/wikipedia/commons/c/cf/Friz.jpg