Interface Emitable

  • All Known Implementing Classes:
    Emitter, Yaml.SilentEmitter

    public interface Emitable
    Drefine a way to serialize an event to output stream
    • Method Detail

      • emit

        void emit​(Event event)
           throws java.io.IOException
        Push event to bytes
        Parameters:
        event - - the source
        Throws:
        java.io.IOException - if bytes bite