Re: Can't display Java gui
From: Rogan Dawes (discard_at_dawes.za.net)
Date: 11/10/04
- Next message: Andrew Thompson: "Re: question about chat system"
- Previous message: HS1: "Re: class design need help"
- In reply to: Conrad Eaglehill: "Re: Can't display Java gui"
- Next in thread: Gordon Beaton: "Re: Can't display Java gui"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 10 Nov 2004 09:31:43 +0100
Conrad Eaglehill wrote:
> Rogan Dawes <discard@dawes.za.net> wrote in message news:<4190853C.5040800@dawes.za.net>...
>
>>Another alternative might be to use socket based comms in a
>>client-server process. Have the GUI listen on a localhost socket for a
>>connection, and pop up the GUI when it receives one. your C program
>>passes the necessary info to the GUI, the operator makes his decision,
>>and returns the decision to your C program via the socket.
>>
>
> Hmm...I've had more practice in sockets with C than in Java, but this
> might be the way to go. I'll give this a shot. Thanks, Rogan! I think
> you may have helped me out quite a bit!
>
My pleasure.
Note that you would need to have some kind of fall-back and retry code
for the times that the GUI is not running. You may be able to integrate
that into the sendmail infrastructure, by returning a "temporary
failure" result to the calling sendmail process, and letting it worry
about rescheduling the message for transmission.
Rogan
-- Rogan Dawes *ALL* messages to discard@dawes.za.net will be dropped, and added to my blacklist. Please respond to "nntp AT dawes DOT za DOT net"
- Next message: Andrew Thompson: "Re: question about chat system"
- Previous message: HS1: "Re: class design need help"
- In reply to: Conrad Eaglehill: "Re: Can't display Java gui"
- Next in thread: Gordon Beaton: "Re: Can't display Java gui"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|