Hello,
I have two servers that currently have a CORBA interface. One is purely
request-response so I am considering replacing the CORBA interface with
lingo. The other one is more involved and I am not sure if lingo is
appropriate. Hopefully this is the right place to get advice. It would be
very appealing if both could be done using lingo. If the second cannot it
will weaken my argument for using lingo for the first server.
Talking about the second server....
The server has a thread that watches out for asynchronous events that
occur via a third-party library. Let us call this the event-listening
thread.
Via CORBA there is a synchronous request that accepts an object reference
from the client and registers it as being interested in events that occur
via the event-listening thread. When an event comes into the
event-listening thread it invokes a method on the registered client-side
object. So although the registration request is request-response, it is a
bit like subscribing to these third-party events. The event-listening
thread publishes to the subscribers.
I see from the Overview lingo page that there is a way to invoke methods
on the client side from the server. So it looks like I probably can use
lingo for what I want to do. But I am not sure, being very new to lingo.
Also, even if it can be done, is it appropriate? Once the registration has
been done the server is supposed to send all third-party events to the
client until further notice (i.e. until a deregister request has been
received). So it is very similar to traditional pub-sub.
Regards,
Andrew Marlow
----
There is an emerald here the size of a plover's egg!
Don't top-post
http://www.catb.org/~esr/jargon/html/T/top-post.htmlPlain text mails only, please
http://www.expita.com/nomime.html
---
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
Please refer to
http://www.db.com/en/content/eu_disclosures.htm for additional EU corporate and regulatory disclosures.
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email