Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches

◆ releaseObject()

void IceGrid::SessionPrx::releaseObject ( const ::Ice::Identity & id,
const Ice::Context & context = Ice::noExplicitContext ) const

Releases an object that was allocated using IceGrid::SessionPrx::allocateObjectById or IceGrid::SessionPrx::allocateObjectByType.

Parameters
idThe identity of the object to release.
contextThe request context.
Exceptions
IceGrid::AllocationExceptionThrown when the object can't be released. This can happen when the object is not allocatable or is not allocated by this session.
IceGrid::ObjectNotRegisteredExceptionThrown when an object with the given identity is not registered with the registry.