com.ibm.broker.connector

Class ByteArrayInputRecord



  • public class ByteArrayInputRecord
    extends InputRecord
    ByteArrayInputRecord provides a default class to handle input records for polling results and events, allowing a record to be created that is based on a byte array. The node input parsing options are used to parse the bitstream given.
    • Constructor Detail

      • ByteArrayInputRecord

        public ByteArrayInputRecord()
                             throws com.ibm.broker.plugin.MbException
        Throws:
        com.ibm.broker.plugin.MbException
    • Method Detail

      • appendByteArray

        public final void appendByteArray(byte[] bytes)
                                   throws com.ibm.broker.plugin.MbException
        Call this method to append bytes to the record.
        Parameters:
        bytes - The bytes to add to the record.
        Throws:
        com.ibm.broker.plugin.MbException
      • appendByteArray

        public final void appendByteArray(byte[] bytes,
                                          long offset)
                                   throws com.ibm.broker.plugin.MbException
        Throws:
        com.ibm.broker.plugin.MbException
IBM Integration BusTM
JavaTM Connector API