|
If you want to transfer "Test" objects by-value, then you must install an object factory for "TestI" in the client, so that Ice knows how to instantiate new Test objects when unmarshaling.
For an example, have a look at demo/Ice/value. In the file Client.cpp, you'll find the following code:
Ice::ObjectFactoryPtr factory = new ObjectFactory;
communicator->addObjectFactory(factory, "::Printer");
You can take this as an example for how to install object factories for by-value transfer of objects.
|