public abstract class _SessionDisp extends Ice.ObjectImpl implements Session
Registry object or the registry client SessionManager
object.Registry,
SessionManager,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static java.lang.String[] |
__ids |
static long |
serialVersionUID |
ice_staticId| Constructor and Description |
|---|
_SessionDisp() |
| Modifier and Type | Method and Description |
|---|---|
static Ice.DispatchStatus |
___allocateObjectById(Session __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___allocateObjectByType(Session __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___keepAlive(Session __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___releaseObject(Session __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___setAllocationTimeout(Session __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
Ice.DispatchStatus |
__dispatch(IceInternal.Incoming in,
Ice.Current __current) |
protected void |
__readImpl(IceInternal.BasicStream __is) |
protected void |
__writeImpl(IceInternal.BasicStream __os) |
void |
allocateObjectById_async(AMD_Session_allocateObjectById __cb,
Ice.Identity id)
Allocate an object.
|
void |
allocateObjectByType_async(AMD_Session_allocateObjectByType __cb,
java.lang.String type)
Allocate an object with the given type.
|
void |
destroy()
Destroy the session.
|
protected void |
ice_copyStateFrom(Ice.Object __obj) |
java.lang.String |
ice_id() |
java.lang.String |
ice_id(Ice.Current __current) |
java.lang.String[] |
ice_ids() |
java.lang.String[] |
ice_ids(Ice.Current __current) |
boolean |
ice_isA(java.lang.String s) |
boolean |
ice_isA(java.lang.String s,
Ice.Current __current) |
static java.lang.String |
ice_staticId() |
void |
keepAlive()
Keep the session alive.
|
void |
releaseObject(Ice.Identity id)
Release an object that was allocated using allocateObjectById or
allocateObjectByType.
|
void |
setAllocationTimeout(int timeout)
Set the allocation timeout.
|
___ice_id, ___ice_ids, ___ice_isA, ___ice_ping, __checkMode, __read, __read, __readImpl, __write, __write, __writeImpl, clone, ice_dispatch, ice_dispatch, ice_operationAttributes, ice_ping, ice_ping, ice_postUnmarshal, ice_preMarshalequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitallocateObjectById_async, allocateObjectByType_async, keepAlive, releaseObject, setAllocationTimeout__read, __read, __write, __write, clone, ice_dispatch, ice_dispatch, ice_operationAttributes, ice_ping, ice_ping, ice_postUnmarshal, ice_preMarshaldestroypublic static final java.lang.String[] __ids
public static final long serialVersionUID
protected void ice_copyStateFrom(Ice.Object __obj) throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedExceptionpublic boolean ice_isA(java.lang.String s)
ice_isA in interface Ice.Objectice_isA in class Ice.ObjectImplpublic boolean ice_isA(java.lang.String s,
Ice.Current __current)
ice_isA in interface Ice.Objectice_isA in class Ice.ObjectImplpublic java.lang.String[] ice_ids()
ice_ids in interface Ice.Objectice_ids in class Ice.ObjectImplpublic java.lang.String[] ice_ids(Ice.Current __current)
ice_ids in interface Ice.Objectice_ids in class Ice.ObjectImplpublic java.lang.String ice_id()
ice_id in interface Ice.Objectice_id in class Ice.ObjectImplpublic java.lang.String ice_id(Ice.Current __current)
ice_id in interface Ice.Objectice_id in class Ice.ObjectImplpublic static java.lang.String ice_staticId()
public final void destroy()
destroy in interface Glacier2._SessionOperationsNCpublic final void allocateObjectById_async(AMD_Session_allocateObjectById __cb, Ice.Identity id) throws AllocationException, ObjectNotRegisteredException
__cb - The callback object for the operation.id - The identity of the object to allocate.ObjectNotRegisteredException - Raised if the object with
the given identity is not registered with the registry.AllocationException - Raised if the object can't be
allocated.public final void allocateObjectByType_async(AMD_Session_allocateObjectByType __cb, java.lang.String type) throws AllocationException
__cb - The callback object for the operation.type - The type of the object.AllocationException - Raised if the object could not be allocated.public final void keepAlive()
public final void releaseObject(Ice.Identity id) throws AllocationException, ObjectNotRegisteredException
id - The identity of the object to release.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.public final void setAllocationTimeout(int timeout)
timeout - The timeout in milliseconds.public static Ice.DispatchStatus ___keepAlive(Session __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___allocateObjectById(Session __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___allocateObjectByType(Session __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___releaseObject(Session __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___setAllocationTimeout(Session __obj, IceInternal.Incoming __inS, Ice.Current __current)
public Ice.DispatchStatus __dispatch(IceInternal.Incoming in, Ice.Current __current)
__dispatch in interface Ice.Object__dispatch in class Ice.ObjectImplprotected void __writeImpl(IceInternal.BasicStream __os)
__writeImpl in class Ice.ObjectImplprotected void __readImpl(IceInternal.BasicStream __is)
__readImpl in class Ice.ObjectImpl