パッケージ 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.
-
メソッドの概要
インタフェースから継承されたメソッド java.io.Closeable
close
-
メソッドの詳細
-
open
void open() throws java.io.IOExceptionopen.- 例外:
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
-