Re: Newbie: Asynchronous messaging in CORBA -- is it possible?



Is there a service that does that?  It might be more beneficial to create
a standard service than to implement a custom not-quite-standard one.

Jonathan Bartlett

PGP information is available at http://members.wri.com/johnnyb/about/

On 31 Oct 2001, Rodrigo Moya wrote:

> On Tue, 2001-10-30 at 23:46, Edgar Hilton wrote:
> > Hi! I'm a newbie, so please be gentle.
> >
> > What is the best way to do the following?
> >
> > I have a set of clients and one server using ORBit + C.
> >
> > Clients are able to reference all the appropriate objects from the
> > server without any problems.
> >
> > The question is: how can I get the server to trigger some action in
> > select clients? For example, let's say that I am sitting at the server
> > machine, and want several of the clients to refresh a list of
> > parameters.  How can I do this?
> >
> you can do it by using listeners, something that is widely used in
> GNOME.
>
> For instance, you could have:
>
> interface Server {
> 	void connectClient (in Client client);
> };
>
> interface Client {
> 	void notify (...);
> };
>
> and have the Client interface be implemented in the client-side, so that
> it can receive notifications from the server.
>
> cheers
> --
> Rodrigo Moya <rodrigo@gnome-db.org> - <rodrigo@ximian.com>
> http://www.gnome-db.org/ - http://www.ximian.com/
> _______________________________________________
> orbit-list mailing list
> orbit-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/orbit-list
>




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]