Interface ByteBlockConsumer

    • Method Detail

      • writeDatagrams

        default void writeDatagrams​(byte[] aDatagrams)
                             throws org.refcodes.component.OpenException
        Writes (sends) a byte block.
        Parameters:
        aDatagrams - The byte to be pushed.
        Throws:
        org.refcodes.component.OpenException - Thrown in case opening or accessing an open line (connection, junction, link) caused problems.
      • writeDatagrams

        void writeDatagrams​(byte[] aDatagrams,
                            int aOffset,
                            int aLength)
                     throws org.refcodes.component.OpenException
        Writes (sends) a byte block.
        Parameters:
        aDatagrams - The byte to be pushed.
        aOffset - The offset from which to take the data.
        aLength - The number of elements to push starting at the given offset.
        Throws:
        org.refcodes.component.OpenException - Thrown in case opening or accessing an open line (connection, junction, link) caused problems.