public class CurrentSessionsResponse extends OK
CurrentSessionsRequest
consisting of two ordered lists of matching length. The sessions
field contains a list of the OMERO Session
objects that are currently active *after* all timeouts have been
applied.
This is the value that would be returned by
omero.api.ISession.getSession
when joined to that session.
Similarly, the contexts field contains the value that would be
returned by a call to omero.api.IAdmin.getEventContext
.
For non-administrators, most values for all sessions other than
those belonging to that user will be null.Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
__ids |
java.util.List<EventContext> |
contexts
EventContext objects stored in
memory by the server. |
java.util.Map<java.lang.String,RType>[] |
data
Other session state which may vary based on
usage.
|
static long |
serialVersionUID |
java.util.List<Session> |
sessions
Session objects loaded from
the database. |
Constructor and Description |
---|
CurrentSessionsResponse() |
CurrentSessionsResponse(java.util.List<Session> sessions,
java.util.List<EventContext> contexts,
java.util.Map<java.lang.String,RType>[] data) |
Modifier and Type | Method and Description |
---|---|
protected void |
__readImpl(IceInternal.BasicStream __is) |
protected void |
__writeImpl(IceInternal.BasicStream __os) |
CurrentSessionsResponse |
clone() |
static Ice.ObjectFactory |
ice_factory() |
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() |
public static final java.lang.String[] __ids
public java.util.List<EventContext> contexts
EventContext
objects stored in
memory by the server.public java.util.Map<java.lang.String,RType>[] data
public static final long serialVersionUID
public CurrentSessionsResponse()
public CurrentSessionsResponse(java.util.List<Session> sessions, java.util.List<EventContext> contexts, java.util.Map<java.lang.String,RType>[] data)
public static Ice.ObjectFactory ice_factory()
public boolean ice_isA(java.lang.String s)
public boolean ice_isA(java.lang.String s, Ice.Current __current)
public java.lang.String[] ice_ids()
public java.lang.String[] ice_ids(Ice.Current __current)
public java.lang.String ice_id()
public java.lang.String ice_id(Ice.Current __current)
public static java.lang.String ice_staticId()
protected void __writeImpl(IceInternal.BasicStream __os)
__writeImpl
in class OK
protected void __readImpl(IceInternal.BasicStream __is)
__readImpl
in class OK
public CurrentSessionsResponse clone()