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



Rodrigo,

Thank you so much for your input.  

Do you happen to have a simple example that already implements this? Or,
alternatively, can you point me to an actual piece of code that
implements this? I seem to be somewhat confused by what you are saying.

Thank you in advance,

-Edgar


On Tue, 2001-10-30 at 18:28, 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
> 
-- 
Edgar F. Hilton		Director of Industrial Programs
FSMLabs, Inc.		voice: (850) 322-4054
http://www.rtlinux.com	fax: (206) 350-4EFH




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