Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #12541

Re: opening isdn connection with external file

From Lew <noone@lewscanon.com>
Newsgroups comp.lang.java.programmer
Subject Re: opening isdn connection with external file
Date 2012-02-29 10:06 -0800
Organization albasani.net
Message-ID <jilpfv$nha$1@news.albasani.net> (permalink)
References (7 earlier) <jikfve$dk$1@l01news1.ot.hr> <jikgjo$599$1@news.albasani.net> <jikoit$40a$1@l01news1.ot.hr> <jikooi$j6m$1@news.albasani.net> <jikvbu$6jb$1@l01news1.ot.hr>

Show all headers | View raw


nescafe wrote:
> Lew wrote:
>> 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.
>>
> ---------
> :-) The runtine calls file test.bat
> This file has all that i need.
> Can you give suggestion how to solve my problem using .bat file ?

I can't speak for everyone here, but no.

You are going about the whole thing bassackwards.

I can give Java insight here in this Java newsgroup.

I do have two observations:

- Coordinating logic within a program from outside that program without the 
program having hooks for such control is likely not feasible at all.

- Running a Java program as a system-specific artifact, and black box at that, 
is not the highest, best use of Java.

My advice is to "implement this into code", as you put it.

If you need Windows advice, as you indicate that you do, this is the wrong 
newsgroup. comp.lang.java.programmer is a discussion group (not helpdesk) for 
Java programming topics. You appear unwilling to discuss Java.

-- 
Lew
Honi soit qui mal y pense.
http://upload.wikimedia.org/wikipedia/commons/c/cf/Friz.jpg

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

opening isdn connection with external file nescafe <nc@ms.com> - 2012-02-27 12:55 +0100
  Re: opening isdn connection with external file Jeff Higgins <jeff@invalid.invalid> - 2012-02-27 10:54 -0500
    Re: opening isdn connection with external file nescafe <nc@ms.com> - 2012-02-28 07:36 +0100
      Re: opening isdn connection with external file nescafe <nc@ms.com> - 2012-02-28 08:17 +0100
        Re: opening isdn connection with external file Jeff Higgins <jeff@invalid.invalid> - 2012-02-28 05:56 -0500
          Re: opening isdn connection with external file Jeff Higgins <jeff@invalid.invalid> - 2012-02-28 07:16 -0500
        Re: opening isdn connection with external file Jeff Higgins <jeff@invalid.invalid> - 2012-02-28 08:23 -0500
          Re: opening isdn connection with external file Jeff Higgins <jeff@invalid.invalid> - 2012-02-28 08:46 -0500
        Re: opening isdn connection with external file Lew <noone@lewscanon.com> - 2012-02-28 09:24 -0800
          Re: opening isdn connection with external file Jeff Higgins <jeff@invalid.invalid> - 2012-02-28 13:34 -0500
            Re: opening isdn connection with external file Lew <noone@lewscanon.com> - 2012-02-28 12:54 -0800
              Re: opening isdn connection with external file nescafe <nc@ms.com> - 2012-02-29 07:18 +0100
                Re: opening isdn connection with external file Lew <noone@lewscanon.com> - 2012-02-28 22:29 -0800
                Re: opening isdn connection with external file nescafe <nc@ms.com> - 2012-02-29 09:44 +0100
                Re: opening isdn connection with external file Lew <noone@lewscanon.com> - 2012-02-29 00:48 -0800
                Re: opening isdn connection with external file nescafe <nc@ms.com> - 2012-02-29 11:40 +0100
                Re: opening isdn connection with external file Lew <noone@lewscanon.com> - 2012-02-29 10:06 -0800
                Re: opening isdn connection with external file nescafe <nc@ms.com> - 2012-03-02 11:08 +0100
                Re: opening isdn connection with external file Lew <noone@lewscanon.com> - 2012-03-02 02:32 -0800

csiph-web