dcsimg
Implementing Containment on the server side ??
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Thursday, December 6, 2001 10:26 PM

I have 2 idl's specifying 2 different interfaces say ItfA and ItfB. Therefore 2 interface and Impl classes are created respectively after compiling the idl files. Since IDL does not support nesting of interfaces. Can i have a single object Say OBJC on the server side implementing or extending both these interfaces ?? This is needed since for every IntA there has to be a corresponding ItfB . The client invokes methods on ItfA to do something. And ItfB produces notifications when that method has completed successfully or not. If yes then, how will the client invoke methods on these interfaces ??Since the there is no idl definition of OBJ C how will c   More>>

I have 2 idl's specifying 2 different interfaces
say ItfA and ItfB. Therefore 2 interface and Impl
classes are created respectively after compiling the idl files.



Since IDL does not support nesting of interfaces.
Can i have a single object Say OBJC on the server side
implementing or extending both these interfaces ??
This is needed since for every IntA there has to be a
corresponding ItfB . The client invokes methods on ItfA
to do something. And ItfB produces notifications when that
method has completed successfully or not.



If yes then, how will the client invoke methods
on these interfaces ??Since the there is no idl
definition of OBJ C how will client be able to interact
with this object that we have created on the server side ??



I am using naming service to discover the object
available on the server side. There can be multiple
instance of these interfaces available on the server side.

   <<Less
About | Sitemap | Contact