GoldenGateConnectionManager / com.fitbit.goldengate.stackservice / CoapStackServiceProvider

CoapStackServiceProvider

object CoapStackServiceProvider

Utility object for encapsulating dependencies. When invoked returns a StackServiceMapper<CoapEndpoint, BluetoothAddressNodeKey> using a StackPeerBuilder<CoapEndpoint>

Functions

invoke

operator fun invoke(peerRole: PeerRole = PeerRole.Peripheral, stackConfig: StackConfig = DtlsSocketNetifGattlink(), stackPeerBuilder: StackPeerBuilder<CoapEndpoint> = StackPeerBuilder(CoapEndpoint::class.java, peerRole, CoapEndpointBuilder, stackConfig)): StackServiceMapper<CoapEndpoint, BluetoothAddressNodeKey>