Interface Emitable

  • All Known Implementing Classes:
    Emitter

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

      • emit

        void emit​(Event event)
           throws IOException
        Serialise event to bytes
        Parameters:
        event - - the source
        Throws:
        IOException - if bytes bite