Ice 3.8
Slice API Reference
Loading...
Searching...
No Matches

◆ addObject()

void addObject ( Object * obj) throws ObjectExistsException, DeploymentException

Adds an object to the object registry.

IceGrid gets the object type by calling ice_id on obj. The object must be reachable.

Parameters
objA proxy to the object. This proxy is never null.
Exceptions
ObjectExistsExceptionThrown when the object is already registered.
DeploymentExceptionThrown when the object can't be added.