How to call bind ? (from CORBA::ORBit)



Hello all.

I'm using CORBA::ORBit. I'm just learning to use the NameService. I have
figured out how to get the Server reference from the client using Name
Service. But I dunno how to register the server.

CosNaming.idl Says:
void bind(in Name n, in Object obj);

I've figured that for Name n, I can pass an anonymous array, with a
reference to hash, as
bind([{'id' => 'MyID', 'kind' => 'MyKind'}])

But I do not know what to pass as Object. I've really got struck
here. Some1 pls. help me.

thanx. in adv.

Sreeji






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