Ice 3.8
Slice API Reference
Loading...
Searching...
No Matches
IceGrid::Session Interface 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 { ... }

Inheritance diagram for IceGrid::Session:
Collaboration diagram for IceGrid::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.

Detailed Description

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.


The documentation for this interface was generated from the following file: