Interface IMessageWriter

  • All Superinterfaces:
    java.lang.AutoCloseable, java.io.Closeable
    All Known Implementing Classes:
    OutputStreamMessageWriter

    public interface IMessageWriter
    extends java.io.Closeable
    Interface that lets you write a message to the currently used transport.
    • Method Detail

      • writeMessage

        void writeMessage​(Message _msg)
                   throws java.io.IOException
        Write a message out to the bus.
        Parameters:
        _msg - The message to write
        Throws:
        java.io.IOException - If an IO error occurs.
      • isClosed

        boolean isClosed()