Package org.jppf.nio
Interface CloseableContext
- All Known Subinterfaces:
NioContext
- All Known Implementing Classes:
AbstractNioContext,AcceptorContext
public interface CloseableContext
- Author:
- Laurent Cohen
-
Method Summary
-
Method Details
-
isClosed
boolean isClosed()Determine whether this channel has been closed.- Returns:
trueif this channel has been closed,falseotherwise.
-
setClosed
void setClosed(boolean closed) Specify whether this channel has been closed.- Parameters:
closed-trueif this channel has been closed,falseotherwise.
-