パッケージ com.shimizukenta.secs

インタフェース SecsCommunicator

すべてのスーパーインタフェース:
java.lang.AutoCloseable, java.io.Closeable, OpenAndCloseable, SecsCommunicateStateDetectable, SecsCommunicatorConfigValueGettable, SecsGemAccessor, SecsLogObservable, SecsMessagePassThroughObservable, SecsMessageReceiveObservable, SecsMessageSendable
既知のサブインタフェースのリスト:
HsmsSsCommunicator, Secs1Communicator, Secs1OnTcpIpCommunicator, Secs1OnTcpIpReceiverCommunicator

public interface SecsCommunicator
extends OpenAndCloseable, SecsGemAccessor, SecsMessageReceiveObservable, SecsMessagePassThroughObservable, SecsCommunicateStateDetectable, SecsLogObservable
  • メソッドの詳細

    • openAndWaitUntilCommunicatable

      void openAndWaitUntilCommunicatable() throws java.io.IOException, java.lang.InterruptedException
      Open and wait until communicatable.

      Blocking-method.
      If Already opened, do not open.
      If Already communicatable, do nothing.

      例外:
      java.io.IOException - if open failed
      java.lang.InterruptedException - if interrupted
    • openAndWaitUntilCommunicatable

      void openAndWaitUntilCommunicatable​(long timeout, java.util.concurrent.TimeUnit unit) throws java.io.IOException, java.lang.InterruptedException, java.util.concurrent.TimeoutException
      Open and wait until communicatable.

      Blocking-method.
      If Already opened, do not open.
      If Already communicatable, do nothing.

      パラメータ:
      timeout - the timeout value
      unit - the timeout unit
      例外:
      java.io.IOException - if open failed
      java.lang.InterruptedException - if interrupted
      java.util.concurrent.TimeoutException - if timeout