Package org.jgrapes.io.events


package org.jgrapes.io.events
Provides the events used by the I/O related components.
  • Classes
    Class
    Description
    This event causes the initiator of an I/O channel to shutdown the channel.
    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.
    Input<T extends Buffer>
    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.
    IOEvent<T extends Buffer>
    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 a NioRegistration event.
    Passed during registration.
    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.
    This event is fired on IOSubchannels that are created by provider components before their first usage for Input or Output events.
     
    Output<T extends Buffer>
    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 the FileStorage component to write the data from all Input 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 the FileStorage component to write the data from all Output 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 the ProcessManager component that handles the event.
    Indicates a problem while starting a process.
    Causes the content of a file to be streamed as a sequence of Output events (terminated by an event with the end of record flag set) on the channel that this event is fired on.