Class DataBucket

    • Field Detail

      • commandId

        protected String commandId
      • count

        protected long count
      • data

        protected byte[] data
      • header

        protected byte[] header
      • footer

        protected byte[] footer
    • Constructor Detail

      • DataBucket

        protected DataBucket()
      • DataBucket

        public DataBucket​(String commandId,
                          long count,
                          String data)
      • DataBucket

        public DataBucket​(String commandId,
                          long count,
                          byte[] data)
      • DataBucket

        public DataBucket​(String commandId,
                          long count,
                          byte[] data,
                          byte[] header,
                          byte[] footer)
    • Method Detail

      • getCommandId

        public String getCommandId()
      • getCount

        public long getCount()
      • getData

        public byte[] getData()
      • getHeader

        public byte[] getHeader()
      • getFooter

        public byte[] getFooter()
      • getDataAsString

        public String getDataAsString()
      • getHeaderAsString

        public String getHeaderAsString()
      • getFooterAsString

        public String getFooterAsString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object