GoldenGateConnectionManager / com.fitbit.goldengate.node / PeerBuilder

PeerBuilder

interface PeerBuilder<S : StackService, K : NodeKey<*>>

Builds a Peer with StackService of type S and key of type K and determines if an existing Peer is the same as the one's it builds

Functions

build

abstract fun build(key: K): Peer<S>

Builds a Peer

doesBuild

abstract fun doesBuild(peer: Peer<*>): Boolean

Tests if the given Peer is the same as the one this can build

Inheritors

StackPeerBuilder

class StackPeerBuilder<T : StackService> : PeerBuilder<T, BluetoothAddressNodeKey>

Builds a StackPeer with a String key