パッケージ com.shimizukenta.secs

インタフェース OpenAndCloseable

すべてのスーパーインタフェース:
java.lang.AutoCloseable, java.io.Closeable
既知のサブインタフェースのリスト:
HsmsGsCommunicator, HsmsSsCommunicator, Secs1Communicator, Secs1OnTcpIpCommunicator, Secs1OnTcpIpReceiverCommunicator, SecsCommunicator

public interface OpenAndCloseable
extends java.io.Closeable
This interface has Open/Close and isOpen/isClosed methods.
  • メソッドの概要

    修飾子とタイプ メソッド 説明
    boolean isClosed()
    Return true if closed, otherwise false.
    boolean isOpen()
    Return true if opened and not closed, otherwise false.
    void open()
    open.

    インタフェースから継承されたメソッド java.io.Closeable

    close
  • メソッドの詳細

    • open

      void open() throws java.io.IOException
      open.
      例外:
      java.io.IOException - if open failed
    • isOpen

      boolean isOpen()
      Return true if opened and not closed, otherwise false.
      戻り値:
      true if opened and not closed, otherwise false
    • isClosed

      boolean isClosed()
      Return true if closed, otherwise false.
      戻り値:
      true if closed, otherwise false