Uses of Class
com.privatechain.network.peer.Peer.Builder
Packages that use Peer.Builder
Package
Description
Peer lifecycle management — maintains the list of connected peers, runs heartbeat
checks, and prunes unresponsive connections (FR-NET-01, FR-NET-07).
-
Uses of Peer.Builder in com.privatechain.network.peer
Methods in com.privatechain.network.peer that return Peer.BuilderModifier and TypeMethodDescriptionstatic Peer.BuilderPeer.builder()Returns a newPeer.Builderfor constructing aPeer.Sets the hostname or IP address of the peer.Sets the last-seen timestamp.Sets the stable logical identifier for the peer.Peer.Builder.port(int port) Sets the TCP port.Peer.Builder.publicKeyHex(String publicKeyHex) Sets the hex-encoded secp256k1 public key.