Package omero.api

Interface _ClientCallbackOperations

  • All Known Subinterfaces:
    ClientCallback
    All Known Implementing Classes:
    _ClientCallbackDisp, _ClientCallbackTie

    public interface _ClientCallbackOperations
    Primary callback interface for interaction between client and server session (""ServiceFactory""). Where possible these methods will be called one-way to prevent clients from hanging the server.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void requestHeartbeat​(Ice.Current __current)
      Heartbeat-request made by the server to guarantee that the client is alive.
      void sessionClosed​(Ice.Current __current)
      The session to which this ServiceFactory is connected has been closed.
      void shutdownIn​(long milliseconds, Ice.Current __current)
      Message that the server will be shutting down in the given number of milliseconds, after which all new and running method invocations will receive a CancelledException.
    • Method Detail

      • requestHeartbeat

        void requestHeartbeat​(Ice.Current __current)
        Heartbeat-request made by the server to guarantee that the client is alive. If the client is still active, then some method should be made on the server to update the last idle time.
        Parameters:
        __current - The Current object for the invocation.
      • sessionClosed

        void sessionClosed​(Ice.Current __current)
        The session to which this ServiceFactory is connected has been closed. Almost no further method calls (if any) are possible. Create a new session via omero.client.createSession()
        Parameters:
        __current - The Current object for the invocation.
      • shutdownIn

        void shutdownIn​(long milliseconds,
                        Ice.Current __current)
        Message that the server will be shutting down in the given number of milliseconds, after which all new and running method invocations will receive a CancelledException.
        Parameters:
        __current - The Current object for the invocation.