インタフェース HsmsCommunicateStateDetectable
- すべてのスーパーインタフェース:
SecsCommunicateStateDetectable
- 既知のサブインタフェースのリスト:
HsmsSession
,HsmsSsCommunicator
public interface HsmsCommunicateStateDetectable extends SecsCommunicateStateDetectable
HSMS-Communicate-State Detectable.
-
メソッドの概要
インタフェースから継承されたメソッド com.shimizukenta.secs.SecsCommunicateStateDetectable
addSecsCommunicatableStateChangeBiListener, addSecsCommunicatableStateChangeListener, isCommunicatable, removeSecsCommunicatableStateChangeBiListener, removeSecsCommunicatableStateChangeListener, waitUntilCommunicatable, waitUntilCommunicatable, waitUntilNotCommunicatable, waitUntilNotCommunicatable
-
メソッドの詳細
-
getHsmsCommunicateState
HsmsCommunicateState getHsmsCommunicateState()Returns HSMS communicate state.- 戻り値:
- HSMS communicate state.
-
waitUntilHsmsCommunicateState
void waitUntilHsmsCommunicateState(HsmsCommunicateState state) throws java.lang.InterruptedExceptionWait 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.TimeoutExceptionWait until equals state.Blocking-method.
If Already communicatable, do nothing.
- パラメータ:
state
- the HSMS communicate statetimeout
- the timeout valueunit
- the timeout unit- 例外:
java.lang.InterruptedException
- if interruptedjava.util.concurrent.TimeoutException
- if timeout
-
waitUntilNotHsmsCommunicateState
void waitUntilNotHsmsCommunicateState(HsmsCommunicateState state) throws java.lang.InterruptedExceptionWait 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.TimeoutExceptionWait until NOT equals state.Blocking-method.
If Already communicatable, do nothing.
- パラメータ:
state
- the HSMS communicate statetimeout
- the timeout valueunit
- the timeout unit- 例外:
java.lang.InterruptedException
- if interruptedjava.util.concurrent.TimeoutException
- if timeout
-
addHsmsCommunicateStateChangeListener
Add Listener to get communicate-state-changed.Blocking-Listener.
Pass through quickly.
- パラメータ:
listener
- the state change listener- 戻り値:
- true if add success
-
removeHsmsCommunicateStateChangeListener
Remove Listener.- パラメータ:
listener
- the state change listener- 戻り値:
- true if remove success
-
addHsmsCommunicateStateChangeBiListener
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
-