Package org.jppf.nio

Interface CloseableContext

All Known Subinterfaces:
NioContext
All Known Implementing Classes:
AbstractNioContext, AcceptorContext

public interface CloseableContext
Author:
Laurent Cohen
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Determine whether this channel has been closed.
    void
    setClosed(boolean closed)
    Specify whether this channel has been closed.
  • Method Details

    • isClosed

      boolean isClosed()
      Determine whether this channel has been closed.
      Returns:
      true if this channel has been closed, false otherwise.
    • setClosed

      void setClosed(boolean closed)
      Specify whether this channel has been closed.
      Parameters:
      closed - true if this channel has been closed, false otherwise.