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 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.
      • Fields inherited from interface Ice.Object

        ice_staticId
    • 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()  
      • Methods inherited from class Ice.ObjectImpl

        ___ice_id, ___ice_ids, ___ice_isA, ___ice_ping, __checkMode, __dispatch, __read, __read, __readImpl, __write, __write, __writeImpl, ice_dispatch, ice_dispatch, ice_operationAttributes, ice_ping, ice_ping, ice_postUnmarshal, ice_preMarshal
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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)
    • Method Detail

      • ice_factory

        public static Ice.ObjectFactory ice_factory()
      • ice_isA

        public boolean ice_isA​(java.lang.String s)
        Specified by:
        ice_isA in interface Ice.Object
        Overrides:
        ice_isA in class OK
      • ice_isA

        public boolean ice_isA​(java.lang.String s,
                               Ice.Current __current)
        Specified by:
        ice_isA in interface Ice.Object
        Overrides:
        ice_isA in class OK
      • ice_ids

        public java.lang.String[] ice_ids()
        Specified by:
        ice_ids in interface Ice.Object
        Overrides:
        ice_ids in class OK
      • ice_ids

        public java.lang.String[] ice_ids​(Ice.Current __current)
        Specified by:
        ice_ids in interface Ice.Object
        Overrides:
        ice_ids in class OK
      • ice_id

        public java.lang.String ice_id()
        Specified by:
        ice_id in interface Ice.Object
        Overrides:
        ice_id in class OK
      • ice_id

        public java.lang.String ice_id​(Ice.Current __current)
        Specified by:
        ice_id in interface Ice.Object
        Overrides:
        ice_id in class OK
      • ice_staticId

        public static java.lang.String ice_staticId()
      • __writeImpl

        protected void __writeImpl​(IceInternal.BasicStream __os)
        Overrides:
        __writeImpl in class OK
      • __readImpl

        protected void __readImpl​(IceInternal.BasicStream __is)
        Overrides:
        __readImpl in class OK