public interface _SessionOperations extends Glacier2._SessionOperations
Registry object or the registry client SessionManager
object.Registry,
SessionManager| Modifier and Type | Method and Description |
|---|---|
void |
allocateObjectById_async(AMD_Session_allocateObjectById __cb,
Ice.Identity id,
Ice.Current __current)
Allocate an object.
|
void |
allocateObjectByType_async(AMD_Session_allocateObjectByType __cb,
java.lang.String type,
Ice.Current __current)
Allocate an object with the given type.
|
void |
keepAlive(Ice.Current __current)
Keep the session alive.
|
void |
releaseObject(Ice.Identity id,
Ice.Current __current)
Release an object that was allocated using allocateObjectById or
allocateObjectByType.
|
void |
setAllocationTimeout(int timeout,
Ice.Current __current)
Set the allocation timeout.
|
destroyvoid keepAlive(Ice.Current __current)
__current - The Current object for the invocation._RegistryOperations.getSessionTimeout(Ice.Current)void allocateObjectById_async(AMD_Session_allocateObjectById __cb, Ice.Identity id, Ice.Current __current) throws AllocationException, ObjectNotRegisteredException
__cb - The callback object for the operation.id - The identity of the object to allocate.__current - The Current object for the invocation.ObjectNotRegisteredException - Raised if the object with
the given identity is not registered with the registry.AllocationException - Raised if the object can't be
allocated.void allocateObjectByType_async(AMD_Session_allocateObjectByType __cb, java.lang.String type, Ice.Current __current) throws AllocationException
__cb - The callback object for the operation.type - The type of the object.__current - The Current object for the invocation.AllocationException - Raised if the object could not be allocated.void releaseObject(Ice.Identity id, Ice.Current __current) throws AllocationException, ObjectNotRegisteredException
id - The identity of the object to release.__current - The Current object for the invocation.ObjectNotRegisteredException - Raised if the object with
the given identity is not registered with the registry.AllocationException - Raised if the given object can't be
released. This might happen if the object isn't allocatable or
isn't allocated by the session.void setAllocationTimeout(int timeout,
Ice.Current __current)
timeout - The timeout in milliseconds.__current - The Current object for the invocation.