Class AbstractCloseableAmdServant

    • Constructor Detail

      • AbstractCloseableAmdServant

        public AbstractCloseableAmdServant​(ome.api.ServiceInterface service,
                                           BlitzExecutor be)
    • Method Detail

      • close

        public final void close​(Ice.Current __current)
        Specified by:
        close in interface CloseableServant
      • close_async

        public final void close_async​(AMD_StatefulServiceInterface_close __cb,
                                      Ice.Current __current)
        SessionHandler also specially catches close() calls, but cannot remove the servant from the ObjectAdapter and thereby prevent any further communication. Once the invocation is finished, though, it is possible to raise the message and have the servant cleaned up.
        See Also:
        ticket:1855
      • preClose

        protected abstract void preClose​(Ice.Current current)
                                  throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • postClose

        protected abstract void postClose​(Ice.Current current)
        Should not throw any exceptions which should be detected by clients since it is called in a finally block after the client thread has been released.