Exemple #1
0
  /**
   * Get the file ID index of the file the firewalled computer is sharing, and will push out. The
   * firewalled computer returned a query hit with this file ID. The downloading computer writes
   * this ID in this push packet to tell the firewalled computer which one to push out.
   *
   * @return The shared file ID
   */
  public long getIndex() {

    // Return the 4 byte file id 16 bytes into the payload
    return ByteOrder.uint2long(ByteOrder.leb2int(payload, 16));
  }