|
Getting Couldn't invoke on the object to get its interface while binding to IcePack
Folks,
I am tring to bind a object to IcePack, seems like I have wrong Sequence or something.
Here is what I am doing:
Ice.Object object = new ThroughputI();
Identity id = Ice.Util.stringToIdentity("MyThroughput") ;
Ice.ObjectPrx objPtr = adapter.add(object, id);
adapter.activate();
IcePack.AdminPrx admin = IcePack.AdminPrxHelper.checkedCast(communicator.st ringToProxy("IcePack/Admin"));
admin.addObject(objPtr);
Thanks
|