Multiple objects, one (default) servant



Hi,

Sorry if this is the wrong forum for this...pointers to the correct
one would be appreciated.

Can anybody tell me if it is possible to implement the configuration
mentioned in the subject line w/ ORBit 0.5.3?  I've been unable to
decipher how it would be done in such a way that the servant could
determine which object is being referenced.  Looking at poa.c, it
appears that every servant is mapped to one ObjectID, so I'm at a loss
as to how to get the ObjectID of the object being referenced by the
caller.  Every method call seems like it can only get the ObjectID of
the last object activated for the servant.

Has anybody done this?  Is this even something which is valid under
CORBA?  Should I just burn the extra memory for the additional
servants?  If so, will there be any other performance hit in the POA
for having a lot of servants?

Cheers,
--Chris
+-------------------------------+---------------------------------+
| Chris S Jones, Intel Corp.    :    chris jones intel com        |
| 2111 N.E. 25th Ave, JF4-354   :    (503) 712-2935               |
| Hillsboro, OR 97124           :    #include <std.disclaimer>    |
+-------------------------------+---------------------------------+




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