Interface ShortBlockConsumer

    • Method Detail

      • writeDatagrams

        default void writeDatagrams​(short[] aDatagrams)
                             throws org.refcodes.component.OpenException
        Writes (sends) a short block.
        Parameters:
        aDatagrams - The short 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​(short[] aDatagrams,
                            int aOffset,
                            int aLength)
                     throws org.refcodes.component.OpenException
        Writes (sends) a short block.
        Parameters:
        aDatagrams - The short 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.