[omniORB] question about object method multiplexor's Implementation & desing
Juan_M_Casillas@sinvest.es
Juan_M_Casillas@sinvest.es
Tue, 22 Feb 2000 09:05:23 +0100
--openmail-part-00017cd0-00000001
Content-Type: text/plain; charset=ISO-8859-1
Content-Disposition: inline; filename="BDY.RTF"
;Creation-Date="Tue, 22 Feb 2000 09:05:23 +0100"
Content-Transfer-Encoding: quoted-printable
Hello=20
=20
Im trying to write a object that multiplex calls to methods in
other objects.
the idea is that one object calls a method in the multiplexor
(this object
servers methods usign DSI) and then the multiplexor looks for the
objects
that have this method (usign internal mechanisms) and then calls
these
methods in the objects.
=20
But I have some problems, first, when usign DSI, I need to know
the exact
number of parameters, their type, and so on, so I can't do blind
calls to=20
methods in other objects, because I don't know the interface
definition.
How can I do that ? the ORB expects a list (NVList) defined with
the=20
right values for the objects when I call
request->parameters(myNVlist),
but I don't know the method's arguments, neither their type.
=20
So we can do this ?=20
See some basic Example:
Objects S1,S2,S3 servers the method test()
Object A wants to call method test() in S1,S2,S3
Object M is the multiplexor.
=20
So A calls test() in the M interface usign DSI/DII, and says M
that wants
to call test() over S1,S2,S3 (this is done calling another method
on M)
M process the request, look up S1,S2,S3 usign its internal
mechanisms to find the object (based in a get/set properties
scheme)
and then M calls test() on S1, then on S2, then on S3.=20
=20
My problem are:
I need to know the number of arguments, the return type and=
the type of the arguments before call
request->params(NVList)
so I can use DSI to do the remote method invocation, Is
this
possible ? If not, Anybody knows a workarround to do this ?=
=20
Anybody knows who can I do this usign Vainilla CORBA (that is
without using Interface Repository mainly, I want that runs
with
the standard distribution omniORB) ?
=20
Thanks for all.
Kind Regards
=20
Juan Manuel Casillas
Santander Investment
(systems/technology)=20
mail: jcasilla.madrid@sinvest.es
=20
=20
--openmail-part-00017cd0-00000001
Content-Type: application/ms-tnef
Content-Disposition: attachment; filename="WINMAIL.DAT"
Content-Transfer-Encoding: base64
eJ8+IpyWAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAA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