Interface IMessageWriter

All Superinterfaces:
AutoCloseable, Closeable
All Known Implementing Classes:
AbstractOutputStreamMessageWriter, OutputStreamMessageWriter

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

    Modifier and Type
    Method
    Description
    boolean
     
    void
    Write a message out to the bus.

    Methods inherited from interface Closeable

    close
  • Method Details

    • writeMessage

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

      boolean isClosed()