🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.multi-tier
Article #1344

Re: How send refresh or update event to client

#1344
From: Mark Cashman (TeamB BCB)
Date: Mon, 22 Nov 1999 00:00
31 lines
2049 bytes
Hi, Maxim!

Based on the documentation, it seems to me you have three pieces to the
problem - 1) Registering all of the interested RDM / LDMs (local data
modules) and 2) Detecting updates and notifying from the list and 3)
Dealing with dead registered RDM / LDMs.

Registering an RDM probably means registering its AppServer variant,
which can be dereferenced to allow the registrar to call through the app
server disp cast of the variant's IDispatch. The registered RDM should
make available a method to pass data on what is to be refreshed.

Registering an LDM probably means registering the parameters of a socket
or other communication interface to which the LDM will respond by
refreshing its contents as directed.

(2) is fairly simple except in the presence of (3), so every send should
be wrapped with as much exception handling logic as possible. There may
be other ways to detect RDM / LDM which fail to unregister on
termination, but I don't know off hand what they are.

I hope this provides some ideas.

------
Mark Cashman (TeamB - C++ Builder), creator of The Temporal Doorway at
http://www.temporaldoorway.com
- Original digital art, writing, music and more -
C++ Builder / JBuilder Tips and The C++ Builder Programmer's Webring
(Join us!)
http://www.temporaldoorway.com/programming/index.htm
------
Technical Details
Message-ID: <383A16EE.754FCFCB@ix.netcom.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <813sof$sok6@forums.borland.com> <38360AA6.AA45AEB9@ix.netcom.com> <81673l$glv2@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fcd2b,faad2b1fb1b3e32d
X-Google-Attributes: gidfcd2b,public
From: "Mark Cashman (TeamB BCB)" <mcashman@ix.netcom.com>
Subject: Re: How send refresh or update event to client
Date: 1999/11/22
Message-ID: <383A16EE.754FCFCB@ix.netcom.com>
X-Deja-AN: 551921071
Content-Transfer-Encoding: 7bit
References: <813sof$sok6@forums.borland.com> <38360AA6.AA45AEB9@ix.netcom.com> <81673l$glv2@forums.borland.com>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Reply-To: mcashman@ix.netcom.com
Newsgroups: borland.public.cppbuilder.database.multi-tier