Interface ISessionHandler

    • Method Detail

      • OnCloseSessionAsync

        CompletableFuture<Void> OnCloseSessionAsync​(IMessageSession session)
        Called just before a session is closed by the session pump
        Parameters:
        session - session being closed
        Returns:
        a future that executes the action
      • notifyException

        void notifyException​(Throwable exception,
                             ExceptionPhase phase)
        Receiving the exceptions that passed by pump during message processing.
        Parameters:
        exception - Exception received in pump.
        phase - Exception phase.