@Override synchronized public void disableReceiveTimeout() { checkState(); synchronized (m_ThresholdTimeoutLock) { m_ReceiveTimeoutEnabled = false; thresholdOrTimeoutChanged(); } }
@Override synchronized public void enableReceiveThreshold(int value) throws UnsupportedCommOperationException { checkState(); if (value < 0) throw new IllegalArgumentException("threshold" + value + " < 0 "); if (RAW_READ_MODE && value > 255) throw new IllegalArgumentException("threshold" + value + " > 255 in raw read mode"); synchronized (m_ThresholdTimeoutLock) { m_ReceiveThresholdEnabled = true; m_ReceiveThresholdValue = value; thresholdOrTimeoutChanged(); } }
@Override synchronized public void disableReceiveTimeout() { checkState(); synchronized (m_ThresholdTimeoutLock) { m_ReceiveTimeoutEnabled = false; thresholdOrTimeoutChanged(); } }
@Override synchronized public void disableReceiveTimeout() { checkState(); synchronized (m_ThresholdTimeoutLock) { m_ReceiveTimeoutEnabled = false; thresholdOrTimeoutChanged(); } }
@Override synchronized public void disableReceiveThreshold() { checkState(); synchronized (m_ThresholdTimeoutLock) { m_ReceiveThresholdEnabled = false; thresholdOrTimeoutChanged(); } }
@Override synchronized public void disableReceiveThreshold() { checkState(); synchronized (m_ThresholdTimeoutLock) { m_ReceiveThresholdEnabled = false; thresholdOrTimeoutChanged(); } }
@Override synchronized public void disableReceiveThreshold() { checkState(); synchronized (m_ThresholdTimeoutLock) { m_ReceiveThresholdEnabled = false; thresholdOrTimeoutChanged(); } }
@Override synchronized public void enableReceiveThreshold(int value) throws UnsupportedCommOperationException { checkState(); if (value < 0) throw new IllegalArgumentException("threshold" + value + " < 0 "); if (RAW_READ_MODE && value > 255) throw new IllegalArgumentException("threshold" + value + " > 255 in raw read mode"); synchronized (m_ThresholdTimeoutLock) { m_ReceiveThresholdEnabled = true; m_ReceiveThresholdValue = value; thresholdOrTimeoutChanged(); } }
@Override synchronized public void enableReceiveThreshold(int value) throws UnsupportedCommOperationException { checkState(); if (value < 0) throw new IllegalArgumentException("threshold" + value + " < 0 "); if (RAW_READ_MODE && value > 255) throw new IllegalArgumentException("threshold" + value + " > 255 in raw read mode"); synchronized (m_ThresholdTimeoutLock) { m_ReceiveThresholdEnabled = true; m_ReceiveThresholdValue = value; thresholdOrTimeoutChanged(); } }
@Override synchronized public void enableReceiveTimeout(int value) throws UnsupportedCommOperationException { if (value < 0) throw new IllegalArgumentException("threshold" + value + " < 0 "); if (value > 25500) throw new UnsupportedCommOperationException("threshold" + value + " > 25500 "); checkState(); synchronized (m_ThresholdTimeoutLock) { m_ReceiveTimeoutEnabled = true; m_ReceiveTimeoutValue = value; thresholdOrTimeoutChanged(); } }
@Override synchronized public void enableReceiveTimeout(int value) throws UnsupportedCommOperationException { if (value < 0) throw new IllegalArgumentException("threshold" + value + " < 0 "); if (value > 25500) throw new UnsupportedCommOperationException("threshold" + value + " > 25500 "); checkState(); synchronized (m_ThresholdTimeoutLock) { m_ReceiveTimeoutEnabled = true; m_ReceiveTimeoutValue = value; thresholdOrTimeoutChanged(); } }
@Override synchronized public void enableReceiveTimeout(int value) throws UnsupportedCommOperationException { if (value < 0) throw new IllegalArgumentException("threshold" + value + " < 0 "); if ((value + 99) / 100 > 255) throw new UnsupportedCommOperationException("threshold" + value + " too large "); checkState(); synchronized (m_ThresholdTimeoutLock) { m_ReceiveTimeoutEnabled = true; m_ReceiveTimeoutValue = value; thresholdOrTimeoutChanged(); } }