comp.lang.ada
 help / color / mirror / Atom feed
From: john.nospam@nospamassen.nospamdemon.co.uk (John McCabe)
Subject: Re: Question on Client - Server communication
Date: Fri, 05 Jul 2002 10:09:38 GMT
Date: 2002-07-05T10:09:38+00:00	[thread overview]
Message-ID: <3d256e38.6304224@news.demon.co.uk> (raw)
In-Reply-To: mailman.1025856482.6739.comp.lang.ada@ada.eu.org

On Fri, 5 Jul 2002 10:08:18 +0200, Preben Randhol
<randhol+ada@pvv.org> wrote:

What you seem to want is something like an Object Resource Broker.
It's probably worth looking at some CORBA documentation to see if it
gives you any ideas.

I did something similar a couple of years ago. This involved what I
called a Resolver - a client would ask the resolver for information on
which port to connect a service on. The resolver would provide this
information. The Resolver would always on the client's local machine.
Servers would register themselves with the Resolver, also on their
local machine. There would be 2 different types of resolver, but
clients and servers would not be aware of this. One type of resolver
would maintain the database of services (and allocate port numbers as
required), and would be queried by the other type of resolver when it
needed some information, so the resolver was always on a known port.
Where the information came from (i.e. the local resolver or the remote
resolver after a query by the local resolver) would be completely
transparent to any clients or servers that were running.

From what I can tell this was a huge simplification of what goes on if
you use CORBA, but worked for what we needed at the time.

How you do the communication between your clients/servers and their
local resolver is pretty much up to you.

Hope this is of use.




  parent reply	other threads:[~2002-07-05 10:09 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-05  8:08 Question on Client - Server communication Preben Randhol
2002-07-05  9:23 ` John R. Strohm
2002-07-05  9:48 ` Fabien Garcia
2002-07-05 10:05   ` Lutz Donnerhacke
2002-07-05 12:47     ` Fabien Garcia
2002-07-05 14:20       ` Lutz Donnerhacke
2002-07-05 10:09 ` John McCabe [this message]
2002-07-05 14:58 ` Thierry Lelegard
2002-07-06 23:19   ` Robert A Duff
2002-07-07  1:14     ` David C. Hoos, Sr.
2002-07-06  1:06 ` Caffeine Junky
2002-07-06 19:55   ` Preben Randhol
2002-07-07  2:37     ` Caffeine Junky
2002-07-16  6:32       ` Craig Carey
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox