Interface KeyTransfer


public interface KeyTransfer
This interface defines parameters and positions for blockwise UDP data transfer.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    12 byte for the header parameter and 4 byte for the CRC-32 at the end of each block.
    static final int
    The size of each block used by the Splitter.
    static final byte[]
    Information for the data receiver that all data has been transferred.
    static final byte[]
    Feedback from the data receiver that the transmission was faulty.
    static final int
    The position of the block count information in the header.
    static final int
    The position of the information in the header where the data block starts.
    static final int
    The position of the information in the header which size the data block has.
    static final int
    The position of the data length information in the header.
    static final byte[]
    Feedback from the data receiver that the transmission was successful.
  • Field Details

    • EOT

      static final byte[] EOT
      Information for the data receiver that all data has been transferred.
    • VALID

      static final byte[] VALID
      Feedback from the data receiver that the transmission was successful.
    • FAIL

      static final byte[] FAIL
      Feedback from the data receiver that the transmission was faulty.
    • BUFFER_SIZE

      static final int BUFFER_SIZE
      The size of each block used by the Splitter.
      See Also:
    • POS_BLOCK_COUNT

      static final int POS_BLOCK_COUNT
      The position of the block count information in the header.
      See Also:
    • POS_KEY_LENGTH

      static final int POS_KEY_LENGTH
      The position of the data length information in the header.
      See Also:
    • POS_BLOCK_START

      static final int POS_BLOCK_START
      The position of the information in the header where the data block starts.
      See Also:
    • POS_DATA_SIZE

      static final int POS_DATA_SIZE
      The position of the information in the header which size the data block has.
      See Also:
    • ADD_DATA_SIZE

      static final int ADD_DATA_SIZE
      12 byte for the header parameter and 4 byte for the CRC-32 at the end of each block.
      See Also: