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

◆ addObjectWithType()

void addObjectWithType ( Object * obj,
string type ) throws ObjectExistsException, DeploymentException

Adds an object to the object registry and explicitly specifies its type.

Parameters
objThe object to be added to the registry. The proxy is never null.
typeThe type name.
Exceptions
ObjectExistsExceptionThrown when the object is already registered.
DeploymentExceptionThrown when the application deployment failed.