From: Herouth Maoz <herouth@oumail.openu.ac.il>
To: Peter T Mount <peter@retep.org.uk>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: [INTERFACES] Using Postgres's NOTIFY/LISTEN
Date: Sun, 6 Dec 1998 15:35:02 +0200
Message-ID: <l03110709b29036c9babd@[147.233.159.109]> (raw)
In-Reply-To: <Pine.LNX.4.04.9812021844280.682-100000@maidast.retep.org.uk>
References: <2637.912614023@sss.pgh.pa.us>
At 20:49 +0200 on 2/12/98, Peter T Mount wrote:
>
> The 1.1 AWT uses a listener model for it's events. I was thinking of
> creating an Interface that defines a method that is called when a notify
> occurs. Then, the client can create a class that implements this
> Interface, and simply calls an addListener() method in the driver. Then,
> any notify's received will cause the listener to be called.
Hmm, wouldn't using the AWT cause the driver to attempt to initialize the X
windows or something? I know some servlet implementations (Netscape's, for
one) do not support any AWT calls, assuming that when you work through the
web, you don't have an X server, which is true.
Can't it be done with threads, Object.notify() etc.?
Herouth
--
Herouth Maoz, Internet developer.
Open University of Israel - Telem project
http://telem.openu.ac.il/~herutma
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-interfaces@postgresql.org
Cc: herouth@oumail.openu.ac.il, peter@retep.org.uk
Subject: Re: [INTERFACES] Using Postgres's NOTIFY/LISTEN
In-Reply-To: <l03110709b29036c9babd@[147.233.159.109]>
References: <2637.912614023@sss.pgh.pa.us> <l03110709b29036c9babd@[147.233.159.109]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox