Class BitTorrentHandshake


  • public class BitTorrentHandshake
    extends Object
    • Constructor Detail

      • BitTorrentHandshake

        public BitTorrentHandshake​(byte[] torrentHash,
                                   byte[] extensionBytes,
                                   byte[] peerId)
    • Method Detail

      • getPeerId

        public byte[] getPeerId()
      • getTorrentHash

        public byte[] getTorrentHash()
      • getPeerExtensionBytes

        public byte[] getPeerExtensionBytes()