info.bioinfweb.jphyloio.push

## Interface JPhyloIOEventListener

-     public interface JPhyloIOEventListener

  Interface to be implemented by classes that listen to `JPhyloIOEvent`s. Such listeners can be registered at an instance of `EventForwarder`.
  Author:
    Ben Stöver

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `processEvent(JPhyloIOEventReader source, JPhyloIOEvent event)` Called after an event was received from a reader instance.

- - ### Method Detail

    - #### processEvent

          void processEvent(JPhyloIOEventReader source,
                            JPhyloIOEvent event)
                     throws java.io.IOException

      Called after an event was received from a reader instance. Implementing classes should never request additional events directly from `source`, because other registered event listeners would not be notified of these events.
      Parameters:
        `source` - the reader from which the event was fired
        `event` - the event that was fired from the parsed document
      Throws:
        `java.lang.Exception` - any exception thrown by the implementation
        `java.io.IOException`