Class ClientProtocolSession

    • Constructor Detail

    • Method Detail

      • doStart

        protected void doStart()
                        throws java.lang.Exception
        Description copied from class: ContainerLifeCycle
        Starts the managed lifecycle beans in the order they were added.
        Overrides:
        doStart in class ContainerLifeCycle
        Throws:
        AbstractLifeCycle.StopException - If thrown, the lifecycle will immediately be stopped.
        java.lang.Exception - If there was a problem starting. Will cause a transition to FAILED state
      • onStart

        protected void onStart()
      • doStop

        protected void doStop()
                       throws java.lang.Exception
        Description copied from class: ContainerLifeCycle
        Stops the managed lifecycle beans in the reverse order they were added.
        Overrides:
        doStop in class ContainerLifeCycle
        Throws:
        java.lang.Exception - If there was a problem stopping. Will cause a transition to FAILED state
      • onStop

        protected void onStop()
      • onFailure

        protected void onFailure​(long error,
                                 java.lang.String reason,
                                 java.lang.Throwable failure)
        Overrides:
        onFailure in class ProtocolSession
      • onClose

        protected void onClose​(long error,
                               java.lang.String reason)
        Specified by:
        onClose in class ProtocolSession