![]() |
Ice 3.9
Slice API Reference
|
Represents a session object used by IceGrid clients to allocate and release objects. More...
defined in <IceGrid/Session.ice>
interface Session extends Glacier2::Session { ... }


Operations | |
| Object * | allocateObjectById (Ice::Identity id) throws ObjectNotRegisteredException, AllocationException |
| Allocates an object. | |
| Object * | allocateObjectByType (string type) throws AllocationException |
| Allocates an object with the given type. | |
| idempotent void | keepAlive () |
| Keeps the session alive. | |
| void | releaseObject (Ice::Identity id) throws ObjectNotRegisteredException, AllocationException |
Releases an object that was allocated using allocateObjectById or allocateObjectByType. | |
| idempotent void | setAllocationTimeout (int timeout) |
| Sets the allocation timeout. | |
| Operations inherited from Glacier2::Session | |
| void | destroy () |
| Destroys this session. | |
Represents a session object used by IceGrid clients to allocate and release objects.
Client sessions are created either via the Registry object or via the registry client Glacier2::SessionManager object.
Definition at line 23 of file Session.ice.