Package omero.cmd
Class CurrentSessionsResponse
- java.lang.Object
-
- Ice.ObjectImpl
-
- omero.cmd.Response
-
- omero.cmd.OK
-
- omero.cmd.CurrentSessionsResponse
-
- All Implemented Interfaces:
Ice.Object
,java.io.Serializable
,java.lang.Cloneable
public class CurrentSessionsResponse extends OK
Return value fromCurrentSessionsRequest
consisting of two ordered lists of matching length. The sessions field contains a list of the OMEROSession
objects that are currently active *after* all timeouts have been applied. This is the value that would be returned byomero.api.ISession.getSession
when joined to that session. Similarly, the contexts field contains the value that would be returned by a call toomero.api.IAdmin.getEventContext
. For non-administrators, most values for all sessions other than those belonging to that user will be null.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field 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 Summary
Constructors Constructor Description CurrentSessionsResponse()
CurrentSessionsResponse(java.util.List<Session> sessions, java.util.List<EventContext> contexts, java.util.Map<java.lang.String,RType>[] data)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Field Detail
-
__ids
public static final java.lang.String[] __ids
-
contexts
public java.util.List<EventContext> contexts
EventContext
objects stored in memory by the server.
-
data
public java.util.Map<java.lang.String,RType>[] data
Other session state which may vary based on usage. This may include "hitCount", "lastAccess", and similar metrics.
-
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CurrentSessionsResponse
public CurrentSessionsResponse()
-
CurrentSessionsResponse
public CurrentSessionsResponse(java.util.List<Session> sessions, java.util.List<EventContext> contexts, java.util.Map<java.lang.String,RType>[] data)
-
-
Method Detail
-
ice_factory
public static Ice.ObjectFactory ice_factory()
-
ice_isA
public boolean ice_isA(java.lang.String s)
-
ice_isA
public boolean ice_isA(java.lang.String s, Ice.Current __current)
-
ice_ids
public java.lang.String[] ice_ids()
-
ice_ids
public java.lang.String[] ice_ids(Ice.Current __current)
-
ice_id
public java.lang.String ice_id()
-
ice_id
public java.lang.String ice_id(Ice.Current __current)
-
ice_staticId
public static java.lang.String ice_staticId()
-
__writeImpl
protected void __writeImpl(IceInternal.BasicStream __os)
- Overrides:
__writeImpl
in classOK
-
__readImpl
protected void __readImpl(IceInternal.BasicStream __is)
- Overrides:
__readImpl
in classOK
-
clone
public CurrentSessionsResponse clone()
-
-