Class BlockPermalockAccessParams


  • public class BlockPermalockAccessParams
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      long getAccessPassword()
      Password to be used for the Access operation.
      int getByteCount()
      Deprecated.
      Number of Bytes for the Mask.
      int getByteOffset()
      Deprecated.
      Byte offset; Address of the first word for the Mask.
      int getCount()
      Number of words for the Mask.
      byte[] getMask()
      Mask specifies which memory blocks a tag permalocks.
      int getMaskLength()
      Number of bytes in pMask to be taken for comparison.
      MEMORY_BANK getMemoryBank()
      Memory Bank on which Block Permalock operation is to be performed.
      int getOffset()
      Byte offset; Address of the first byte for the Mask.
      boolean getReadLock()
      ReadLock specifies whether a tag backscatters the perlock status of, or permalocks, one of more blocks within the memory bank as specified.
      void setAccessPassword​(long accessPassword)
      Password to be used for the Access operation.
      void setByteCount​(int byteCount)
      Deprecated.
      Number of Bytes for the Mask.
      void setByteOffset​(int byteOffset)
      Deprecated.
      Byte offset; Address of the word byte for the Mask.
      void setCount​(int Count)
      Number of words for the Mask.
      void setMask​(byte[] mask)
      Mask specifies which memory blocks a tag permalocks.
      void setMaskLength​(int maskLength)
      Number of bytes in pMask to be taken for comparison.
      void setMemoryBank​(MEMORY_BANK memoryBank)
      Memory Bank on which Block Permalock operation is to be performed.
      void setOffset​(int Offset)
      Byte offset; Address of the first byte for the Mask.
      void setReadLock​(boolean readLock)
      ReadLock specifies whether a tag backscatters the perlock status of, or permalocks, one of more blocks within the memory bank as specified.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BlockPermalockAccessParams

        public BlockPermalockAccessParams​(MEMORY_BANK m_eMemoryBank,
                                          boolean m_bReadLock,
                                          int m_nByteOffset,
                                          int m_nByteCount,
                                          long m_nAccessPassword,
                                          int m_nMaskLength,
                                          byte[] m_pMask)
      • BlockPermalockAccessParams

        public BlockPermalockAccessParams()
        Constructor.
    • Method Detail

      • getMemoryBank

        public MEMORY_BANK getMemoryBank()
        Memory Bank on which Block Permalock operation is to be performed.
      • setMemoryBank

        public void setMemoryBank​(MEMORY_BANK memoryBank)
        Memory Bank on which Block Permalock operation is to be performed.
      • getReadLock

        public boolean getReadLock()
        ReadLock specifies whether a tag backscatters the perlock status of, or permalocks, one of more blocks within the memory bank as specified. when ReadLock is true, it performs block perma lock in specified memory bank starting at offset. When ReadLock is false, the Reader get the permalock mask.
        Returns:
      • setReadLock

        public void setReadLock​(boolean readLock)
        ReadLock specifies whether a tag backscatters the perlock status of, or permalocks, one of more blocks within the memory bank as specified. when ReadLock is true, it performs block perma lock in specified memory bank starting at offset. When ReadLock is false, the Reader get the permalock mask.
      • getOffset

        public int getOffset()
        Byte offset; Address of the first byte for the Mask.
      • setOffset

        public void setOffset​(int Offset)
        Byte offset; Address of the first byte for the Mask.
      • getCount

        public int getCount()
        Number of words for the Mask.
      • setCount

        public void setCount​(int Count)
        Number of words for the Mask.
      • getByteOffset

        public int getByteOffset()
        Deprecated.
        Byte offset; Address of the first word for the Mask.
      • setByteOffset

        public void setByteOffset​(int byteOffset)
        Deprecated.
        Byte offset; Address of the word byte for the Mask.
      • getByteCount

        public int getByteCount()
        Deprecated.
        Number of Bytes for the Mask.
      • setByteCount

        public void setByteCount​(int byteCount)
        Deprecated.
        Number of Bytes for the Mask.
      • getAccessPassword

        public long getAccessPassword()
        Password to be used for the Access operation.
      • setAccessPassword

        public void setAccessPassword​(long accessPassword)
        Password to be used for the Access operation.
      • getMaskLength

        public int getMaskLength()
        Number of bytes in pMask to be taken for comparison.
      • setMaskLength

        public void setMaskLength​(int maskLength)
        Number of bytes in pMask to be taken for comparison.
      • getMask

        public byte[] getMask()
        Mask specifies which memory blocks a tag permalocks. Masks depends on the readLock as follows: When readLock is false, the Reader omits permalock mask. when readLock is true, the Reader should permalock as specified by the Mask. The application should allocate an short array and assign it to this field. The Mask to be used for bit-wise comparison should be filled in the array.
        Returns:
      • setMask

        public void setMask​(byte[] mask)
        Mask specifies which memory blocks a tag permalocks. Masks depends on the readLock as follows: When readLock is false, the Reader omits permalock mask. when readLock is true, the Reader should permalock as specified by the Mask. The application should allocate an short array and assign it to this field. The Mask to be used for bit-wise comparison should be filled in the array.