インタフェース HsmsCommunicateStateDetectable

すべてのスーパーインタフェース:
SecsCommunicateStateDetectable
既知のサブインタフェースのリスト:
HsmsSession, HsmsSsCommunicator

public interface HsmsCommunicateStateDetectable
extends SecsCommunicateStateDetectable
HSMS-Communicate-State Detectable.
  • メソッドの詳細

    • getHsmsCommunicateState

      HsmsCommunicateState getHsmsCommunicateState()
      Returns HSMS communicate state.
      戻り値:
      HSMS communicate state.
    • waitUntilHsmsCommunicateState

      void waitUntilHsmsCommunicateState​(HsmsCommunicateState state) throws java.lang.InterruptedException
      Wait until equals state.

      Blocking-method.
      If Already communicatable, do nothing.

      パラメータ:
      state - the HSMS communicate state
      例外:
      java.lang.InterruptedException - if interrupted
    • waitUntilHsmsCommunicateState

      void waitUntilHsmsCommunicateState​(HsmsCommunicateState state, long timeout, java.util.concurrent.TimeUnit unit) throws java.lang.InterruptedException, java.util.concurrent.TimeoutException
      Wait until equals state.

      Blocking-method.
      If Already communicatable, do nothing.

      パラメータ:
      state - the HSMS communicate state
      timeout - the timeout value
      unit - the timeout unit
      例外:
      java.lang.InterruptedException - if interrupted
      java.util.concurrent.TimeoutException - if timeout
    • waitUntilNotHsmsCommunicateState

      void waitUntilNotHsmsCommunicateState​(HsmsCommunicateState state) throws java.lang.InterruptedException
      Wait until NOT equals state.

      Blocking-method.
      If Already communicatable, do nothing.

      パラメータ:
      state - the HSMS communicate state
      例外:
      java.lang.InterruptedException - if interrupted
    • waitUntilNotHsmsCommunicateState

      void waitUntilNotHsmsCommunicateState​(HsmsCommunicateState state, long timeout, java.util.concurrent.TimeUnit unit) throws java.lang.InterruptedException, java.util.concurrent.TimeoutException
      Wait until NOT equals state.

      Blocking-method.
      If Already communicatable, do nothing.

      パラメータ:
      state - the HSMS communicate state
      timeout - the timeout value
      unit - the timeout unit
      例外:
      java.lang.InterruptedException - if interrupted
      java.util.concurrent.TimeoutException - if timeout
    • addHsmsCommunicateStateChangeListener

      boolean addHsmsCommunicateStateChangeListener​(HsmsCommunicateStateChangeListener listener)
      Add Listener to get communicate-state-changed.

      Blocking-Listener.
      Pass through quickly.

      パラメータ:
      listener - the state change listener
      戻り値:
      true if add success
    • removeHsmsCommunicateStateChangeListener

      boolean removeHsmsCommunicateStateChangeListener​(HsmsCommunicateStateChangeListener listener)
      Remove Listener.
      パラメータ:
      listener - the state change listener
      戻り値:
      true if remove success
    • addHsmsCommunicateStateChangeBiListener

      boolean addHsmsCommunicateStateChangeBiListener​(HsmsCommunicateStateChangeBiListener biListener)
      Add Listener to get communicate-state-changed.

      Blocking-Listener.
      Pass through quickly.

      パラメータ:
      biListener - the state change listener
      戻り値:
      true if add success
      例外:
      java.lang.NullPointerException - if biListener is null
    • removeHsmsCommunicateStateChangeBiListener

      boolean removeHsmsCommunicateStateChangeBiListener​(HsmsCommunicateStateChangeBiListener biListener)
      Remove listener.
      パラメータ:
      biListener - the state change listener
      戻り値:
      true if remove success
      例外:
      java.lang.NullPointerException - if biListener is null