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 fromCurrentSessionsRequestconsisting of two ordered lists of matching length. The sessions field contains a list of the OMEROSessionobjects that are currently active *after* all timeouts have been applied. This is the value that would be returned byomero.api.ISession.getSessionwhen 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[]__idsjava.util.List<EventContext>contextsEventContextobjects stored in memory by the server.java.util.Map<java.lang.String,RType>[]dataOther session state which may vary based on usage.static longserialVersionUIDjava.util.List<Session>sessionsSessionobjects 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)CurrentSessionsResponseclone()static Ice.ObjectFactoryice_factory()java.lang.Stringice_id()java.lang.Stringice_id(Ice.Current __current)java.lang.String[]ice_ids()java.lang.String[]ice_ids(Ice.Current __current)booleanice_isA(java.lang.String s)booleanice_isA(java.lang.String s, Ice.Current __current)static java.lang.Stringice_staticId()
-
-
-
Field Detail
-
__ids
public static final java.lang.String[] __ids
-
contexts
public java.util.List<EventContext> contexts
EventContextobjects 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:
__writeImplin classOK
-
__readImpl
protected void __readImpl(IceInternal.BasicStream __is)
- Overrides:
__readImplin classOK
-
clone
public CurrentSessionsResponse clone()
-
-