AbstractAbstractallocateAllocates an object.
A promise like object representing the result of the dispatch, which resolves to:
IceGrid.AllocationException Thrown when the allocation fails.
IceGrid.ObjectNotRegisteredException Thrown when an object with the given identity is not registered with the registry.
AbstractallocateAllocates an object with the given type.
The type of the object.
The Current object for the dispatch.
A promise like object representing the result of the dispatch, which resolves to:
IceGrid.AllocationException Thrown when the allocation fails.
AbstractdestroyDestroys this session.
The Current object for the dispatch.
A promise like object representing the result of the dispatch.
Dispatches an incoming request to one of the methods of this generated class, based on the operation name carried by the request.
The incoming request.
The outgoing response (when the selected method returns a value), or a promise with the outgoing response (when the selected method returns a promise).
Returns the Slice type ID of the most-derived interface supported by this object.
The Current object for the invocation.
The Slice type ID of the most-derived interface.
Returns the Slice type IDs of the interfaces supported by this object.
The Current object for the invocation.
The Slice type IDs of the interfaces supported by this object, in alphabetical order.
Tests whether this object supports a specific Slice interface.
The type ID of the Slice interface to test against.
The Current object for the invocation.
True if this object has the interface specified by typeID or derives from the interface specified by typeID.
Tests whether this object can be reached.
The Current object for the invocation.
AbstractkeepKeeps the session alive.
The Current object for the dispatch.
A promise like object representing the result of the dispatch.
AbstractreleaseReleases an object that was allocated using IceGrid.SessionPrx.allocateObjectById or IceGrid.SessionPrx.allocateObjectByType.
A promise like object representing the result of the dispatch.
IceGrid.AllocationException Thrown when the object can't be released. This can happen when the object is not allocatable or is not allocated by this session.
IceGrid.ObjectNotRegisteredException Thrown when an object with the given identity is not registered with the registry.
AbstractsetSets the allocation timeout. When no object is immediately available for an allocation request, the
implementation of IceGrid.SessionPrx.allocateObjectById and IceGrid.SessionPrx.allocateObjectByType waits for the duration of
this timeout.
The timeout in milliseconds.
The Current object for the dispatch.
A promise like object representing the result of the dispatch.
Staticice_Obtains the Slice type ID of this type.
The return value is always "::IceGrid::Session".
Represents a session object used by IceGrid clients to allocate and release objects. Client sessions are created either via the IceGrid.RegistryPrx object or via the registry client Glacier2.SessionManagerPrx object.
Remarks
The Slice compiler generated this skeleton class from Slice interface
::IceGrid::Session.