Package omero.cmd

Class CurrentSessionsResponse

  • All Implemented Interfaces:
    Ice.Object, java.io.Serializable, java.lang.Cloneable

    public class CurrentSessionsResponse
    extends OK
    Return value from 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.
    See Also:
    Serialized Form
    • Field Detail

      • __ids

        public static final java.lang.String[] __ids
      • sessions

        public java.util.List<Session> sessions
        Session objects loaded from the database.
      • 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.
    • 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)