Interface AMQProtocolWriter

  • All Known Subinterfaces:
    AMQVersionAwareProtocolSession

    public interface AMQProtocolWriter
    AMQProtocolWriter provides a method to write a frame of data 'to the wire', in the context of the object that implements the method, usually some sort of session. The block of data, encapsulated by AMQDataBlock, will be encoded as it is written.
    • Method Detail

      • writeFrame

        void writeFrame​(AMQDataBlock frame)
        Writes a frame to the wire, encoding it as necessary, for example, into a sequence of bytes.
        Parameters:
        frame - The frame to be encoded and written.