🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.database.multi-tier
4 messages
4 total messages Started by Maxim Verbovik Fri, 19 Nov 1999 00:00
How send refresh or update event to client
#1426
Author: Maxim Verbovik
Date: Fri, 19 Nov 1999 00:00
5 lines
726 bytes
Hello!

I have application server and several clients. For example, one client
insert or update records in table and other look in this table. How I can
make callback for other clients when changes happen?
Re: How send refresh or update event to client
#1429
Author: Mark Cashman (TeamB BCB)
Date: Fri, 19 Nov 1999 00:00
17 lines
1252 bytes
Hi, Maxim!

The method you choose depends to some extent on your specific
technology. For instance, in CORBA, you would would provide to the
server the object ID of the interested CORBA object, which it would
retain and call on as needed.

Perhaps more detail on your problem could help us help you.

------
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
------
Re: How send refresh or update event to client
#1335
Author: Maxim Verbovik
Date: Sat, 20 Nov 1999 00:00
25 lines
1495 bytes
Mark Cashman (TeamB BCB) <mcashman@ix.netcom.com> wrote in message
news:38360AA6.AA45AEB9@ix.netcom.com...
> Hi, Maxim!
>
> The method you choose depends to some extent on your specific
> technology. For instance, in CORBA, you would would provide to the
> server the object ID of the interested CORBA object, which it would
> retain and call on as needed.
>
> Perhaps more detail on your problem could help us help you.
>
> ------
> 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
> ------
>
>

    I'm use MIDAS. How I can send notification ALL connected clients to
refresh table, when one of client made update to this table?
Re: How send refresh or update event to client
#1344
Author: 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
------
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads