Class Closed

All Implemented Interfaces:
Future<Void>, Associator, Eligible

public class Closed extends Event<Void>
This event signals that an I/O subchannel will no longer be used.

Components that have allocated resources for that channel should release them in response to receiving this event.

  • Constructor Details

    • Closed

      public Closed(Throwable error)
      Creates a new event that signals a close in response to an error (usually an IOException.
    • Closed

      public Closed()
      Creates a new event that signals a regular close.
  • Method Details