Hi all.

Currently I'm writing my first "real" application using the OSGi
framework as a basis. Now I've got a problem with/ question about the
connection between a service and its client. I haven't dealt with this
problem in the OSGi environment before.

I've got a "control" unit, controlling a GUI and managing the entire
application. I also have got a service delivering the needed
connectivity to the network (used for sending simple TCP/IP messages).
Now the control registers the "messaging service". It can send a
message, which works perfect. However the Messaging Service can also
receive messages. The problem is the service doesn't now the control,
does it? How do I trigger the control to act upon an incoming message?
Should I throw an event or something or is there an easier way? The
control unit is not a service itself, so it can not be registered by the
service.

Anybody's got a suggestion to solving this problem? Thanks in advance.

Regards,

Eelco Kurvers
Trainee
_________________________________________

LogicaCMG - Releasing your potential

Kralingseweg 241-249
3062 CE Rotterdam
Netherlands
T:  +31 (0) 10 253 7339
E:  [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
www.logicacmg.com

 



This e-mail and any attachment is for authorised use by the intended 
recipient(s) only. It may contain proprietary material, confidential 
information and/or be subject to legal privilege. It should not be copied, 
disclosed to, retained or used by, any other party. If you are not an intended 
recipient then please promptly delete this e-mail and any attachment and all 
copies and inform the sender. Thank you.

Reply via email to