GoldenGateConnectionManager / com.fitbit.goldengate.node.stack / StackPeerBuilder / <init>

<init>

StackPeerBuilder(clazz: Class<in T>, peerRole: PeerRole, stackConfig: StackConfig, buildStackPeer: (BluetoothAddressNodeKey) -> StackPeer<T>)

Builds a StackPeer with a String key

Parameters

clazz - The Class of the StackService to use with this StackPeer

stackConfig - the StackConfig of the StackPeer's Stack

buildStackPeer - function for building a StackPeer