## Uses of Class
org.klomp.snark.PeerID

Packages that use PeerID
Package | Description
--- | ---
org.klomp.snark |

### Uses of PeerID in org.klomp.snark

Methods in org.klomp.snark that return PeerID
Modifier and Type | Method and Description
--- | ---
`PeerID` | Peer.`getPeerID()` Returns the id of the peer.

Methods in org.klomp.snark that return types with arguments of type PeerID
Modifier and Type | Method and Description
--- | ---
`(package private) Set<PeerID>` | PeerCoordinator.`getPEXPeers()` Called by TrackerClient

Methods in org.klomp.snark with parameters of type PeerID
Modifier and Type | Method and Description
--- | ---
`(package private) I2PSocket` | I2PSnarkUtil.`connect(PeerID peer)` connect to the given destination
`boolean` | PeerID.`sameID(PeerID pid)` Returns true if and only if this peerID and the given peerID have the same destination hash

Method parameters in org.klomp.snark with type arguments of type PeerID
Modifier and Type | Method and Description
--- | ---
`void` | PeerCoordinator.`gotPeers(Peer peer, List<PeerID> peers)` PeerListener callback
`void` | PeerListener.`gotPeers(Peer peer, List<PeerID> pIDList)` Called when peers are received via PEX

Constructors in org.klomp.snark with parameters of type PeerID
Constructor and Description
`Peer(PeerID peerID, byte[] my_id, byte[] infohash, MetaInfo metainfo)` Outgoing connection.