Package org.jgrapes.io.events
package org.jgrapes.io.events
Provides the events used by the I/O related components.
-
ClassDescriptionThis event causes the initiator of an I/O channel to shutdown the channel.Closed<T>This event signals that an I/O subchannel will no longer be used.Indicates a problem while opening a network connection.This event signals that an I/O subchannel has been closed on the other end.This event signals that a new chunk of data has successfully been obtained from some source.A special kind of
Error
that signals I/O related problems.Events of this type signal that a new chunk of data is available for processing.Signal a registration request to a registry.The completion event for aNioRegistration
event.Passed during registration.Opened<T>This event signals that an I/O resource has successfully been opened (usually in response to some …Open event).A base class for events that cause a file to be opened.Opening<T>This event is fired onIOSubchannel
s that are created by provider components before their first usage forInput
orOutput
events.This event signals that a new chunk of internally generated data is to be forwarded to some destination.Fired when a process has exited.Fired when a process has been started.Fired by an initiator of connections that maintains a pool of such connections if no more connections are available.Causes theFileStorage
component to write the data from allInput
events on the channel that this event is fired on to a file until an event with the end of record flag set is sent on the channel.Causes theFileStorage
component to write the data from allOutput
events on the channel that this event is fired on to a file until an event with the end of record flag set is sent on the channel.Starts a new process managed by theProcessManager
component that handles the event.Indicates a problem while starting a process.Causes the content of a file to be streamed as a sequence ofOutput
events (terminated by an event with the end of record flag set) on the channel that this event is fired on.