- Type Parameters:
T- Result type. Usually
Void, but certain kinds of I/O channels have additional information associated with their closing.
- Direct Known Subclasses:
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.
Methods inherited from class org.jgrapes.core.Event
addCompletionEvent, associated, cancel, channels, channels, completionEvents, currentResults, defaultCriterion, forChannels, get, get, handled, handlingError, isCancelled, isDone, isEligibleFor, isStopped, processedBy, results, results, resumeHandling, setAssociated, setChannels, setRequiresResult, setResult, stop, suspendHandling, suspendHandling, tieTo, toString
Methods inherited from class org.jgrapes.core.internal.EventBase
disableTracking, enqueued, firstResultAssigned, isTracked, onCompletion
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
error- the error
Closedpublic Closed()Creates a new event that signals a regular close.
- the optional failure