Package omero.api

Class _ISessionDisp

    • Field Detail

      • __ids

        public static final java.lang.String[] __ids
    • Constructor Detail

      • _ISessionDisp

        public _ISessionDisp()
    • Method Detail

      • ice_copyStateFrom

        protected void ice_copyStateFrom​(Ice.Object __obj)
                                  throws java.lang.CloneNotSupportedException
        Throws:
        java.lang.CloneNotSupportedException
      • ice_isA

        public boolean ice_isA​(java.lang.String s)
        Specified by:
        ice_isA in interface Ice.Object
        Overrides:
        ice_isA in class Ice.ObjectImpl
      • 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 Ice.ObjectImpl
      • ice_ids

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

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

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

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

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

        public final void closeSession_async​(AMD_ISession_closeSession __cb,
                                             Session sess)
                                      throws ServerError
        Closes session and releases all resources. It is preferred that all clients call this method as soon as possible to free memory, but it is possible to not call close, and rejoin a session later. The current reference count for the session is returned. If the session does not exist, -1. If this call caused the death of the session, then -2.
        Specified by:
        closeSession_async in interface _ISessionOperationsNC
        Parameters:
        __cb - The callback object for the operation.
        Throws:
        ServerError
      • createSession_async

        public final void createSession_async​(AMD_ISession_createSession __cb,
                                              Principal p,
                                              java.lang.String credentials)
                                       throws Glacier2.CannotCreateSessionException,
                                              ServerError
        Creates a new session and returns it to the user.
        Specified by:
        createSession_async in interface _ISessionOperationsNC
        Parameters:
        __cb - The callback object for the operation.
        Throws:
        ApiUsageException - if principal is null
        SecurityViolation - if the password check fails
        Glacier2.CannotCreateSessionException
        ServerError
      • createSessionWithTimeout_async

        public final void createSessionWithTimeout_async​(AMD_ISession_createSessionWithTimeout __cb,
                                                         Principal principal,
                                                         long timeToLiveMilliseconds)
                                                  throws Glacier2.CannotCreateSessionException,
                                                         ServerError
        Allows an admin to create a Session for the give Principal.
        Specified by:
        createSessionWithTimeout_async in interface _ISessionOperationsNC
        Parameters:
        __cb - The callback object for the operation.
        principal - Non-null Principal with the target user's name
        timeToLiveMilliseconds - The time that this Session has until destruction. This is useful to override the server default so that an initial delay before the user is given the token will not be construed as idle time. A value less than 1 will cause the default max timeToLive to be used; but timeToIdle will be disabled.
        Throws:
        Glacier2.CannotCreateSessionException
        ServerError
      • createSessionWithTimeouts_async

        public final void createSessionWithTimeouts_async​(AMD_ISession_createSessionWithTimeouts __cb,
                                                          Principal principal,
                                                          long timeToLiveMilliseconds,
                                                          long timeToIdleMilliseconds)
                                                   throws Glacier2.CannotCreateSessionException,
                                                          ServerError
        Allows an admin to create a Session for the given Principal.
        Specified by:
        createSessionWithTimeouts_async in interface _ISessionOperationsNC
        Parameters:
        __cb - The callback object for the operation.
        principal - Non-null Principal with the target user's name
        timeToLiveMilliseconds - The time that this Session has until destruction. Setting the value to 0 will prevent destruction unless the session remains idle.
        timeToIdleMilliseconds - The time that this Session can remain idle before being destroyed. Setting the value to 0 will prevent idleness based destruction.
        Throws:
        Glacier2.CannotCreateSessionException
        ServerError
      • createUserSession_async

        public final void createUserSession_async​(AMD_ISession_createUserSession __cb,
                                                  long timeToLiveMilliseconds,
                                                  long timeToIdleMilliseconds,
                                                  java.lang.String defaultGroup)
                                           throws Glacier2.CannotCreateSessionException,
                                                  ServerError
        Allows a user to open up another session for him/herself with the given defaults without needing to re-enter password.
        Specified by:
        createUserSession_async in interface _ISessionOperationsNC
        Parameters:
        __cb - The callback object for the operation.
        Throws:
        Glacier2.CannotCreateSessionException
        ServerError
      • ___createSession

        public static Ice.DispatchStatus ___createSession​(ISession __obj,
                                                          IceInternal.Incoming __inS,
                                                          Ice.Current __current)
      • ___createUserSession

        public static Ice.DispatchStatus ___createUserSession​(ISession __obj,
                                                              IceInternal.Incoming __inS,
                                                              Ice.Current __current)
      • ___createSessionWithTimeout

        public static Ice.DispatchStatus ___createSessionWithTimeout​(ISession __obj,
                                                                     IceInternal.Incoming __inS,
                                                                     Ice.Current __current)
      • ___createSessionWithTimeouts

        public static Ice.DispatchStatus ___createSessionWithTimeouts​(ISession __obj,
                                                                      IceInternal.Incoming __inS,
                                                                      Ice.Current __current)
      • ___getSession

        public static Ice.DispatchStatus ___getSession​(ISession __obj,
                                                       IceInternal.Incoming __inS,
                                                       Ice.Current __current)
      • ___getReferenceCount

        public static Ice.DispatchStatus ___getReferenceCount​(ISession __obj,
                                                              IceInternal.Incoming __inS,
                                                              Ice.Current __current)
      • ___closeSession

        public static Ice.DispatchStatus ___closeSession​(ISession __obj,
                                                         IceInternal.Incoming __inS,
                                                         Ice.Current __current)
      • ___getMyOpenSessions

        public static Ice.DispatchStatus ___getMyOpenSessions​(ISession __obj,
                                                              IceInternal.Incoming __inS,
                                                              Ice.Current __current)
      • ___getMyOpenAgentSessions

        public static Ice.DispatchStatus ___getMyOpenAgentSessions​(ISession __obj,
                                                                   IceInternal.Incoming __inS,
                                                                   Ice.Current __current)
      • ___getMyOpenClientSessions

        public static Ice.DispatchStatus ___getMyOpenClientSessions​(ISession __obj,
                                                                    IceInternal.Incoming __inS,
                                                                    Ice.Current __current)
      • ___getInput

        public static Ice.DispatchStatus ___getInput​(ISession __obj,
                                                     IceInternal.Incoming __inS,
                                                     Ice.Current __current)
      • ___getOutput

        public static Ice.DispatchStatus ___getOutput​(ISession __obj,
                                                      IceInternal.Incoming __inS,
                                                      Ice.Current __current)
      • ___setInput

        public static Ice.DispatchStatus ___setInput​(ISession __obj,
                                                     IceInternal.Incoming __inS,
                                                     Ice.Current __current)
      • ___setOutput

        public static Ice.DispatchStatus ___setOutput​(ISession __obj,
                                                      IceInternal.Incoming __inS,
                                                      Ice.Current __current)
      • ___getInputKeys

        public static Ice.DispatchStatus ___getInputKeys​(ISession __obj,
                                                         IceInternal.Incoming __inS,
                                                         Ice.Current __current)
      • ___getOutputKeys

        public static Ice.DispatchStatus ___getOutputKeys​(ISession __obj,
                                                          IceInternal.Incoming __inS,
                                                          Ice.Current __current)
      • ___getInputs

        public static Ice.DispatchStatus ___getInputs​(ISession __obj,
                                                      IceInternal.Incoming __inS,
                                                      Ice.Current __current)
      • ___getOutputs

        public static Ice.DispatchStatus ___getOutputs​(ISession __obj,
                                                       IceInternal.Incoming __inS,
                                                       Ice.Current __current)
      • __dispatch

        public Ice.DispatchStatus __dispatch​(IceInternal.Incoming in,
                                             Ice.Current __current)
        Specified by:
        __dispatch in interface Ice.Object
        Overrides:
        __dispatch in class Ice.ObjectImpl
      • __writeImpl

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

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