GoldenGateBindings / com.fitbit.goldengate.bindings.stack

Package com.fitbit.goldengate.bindings.stack

Types

DtlsSocketNetifGattlink

data class DtlsSocketNetifGattlink : StackConfig

Stack with Gattlink, a Network Interface, a UDP socket and DTLS

GattlinkStackConfig

object GattlinkStackConfig : StackConfig

Stack with only a Gattlink element.

SocketNetifGattlink

data class SocketNetifGattlink : StackConfig

Stack with Gattlink, a Network Interface, and a UDP socket

Stack

class Stack : NativeReference, DataSinkDataSource, Closeable

A Kotlin representation of a Golden Gate stack. The data sink and data source exposed through getAsDataSinkPointer and getAsDataSourcePointer are the data sink/source on the "top" of the stack.

StackConfig

sealed class StackConfig : Serializable

Configuration in which GG stack should be created

StackEvent

sealed class StackEvent

StackService

interface StackService : Attachable, Detachable, Closeable

Service that communicates with top of the stack

Properties

GATT_HEADER_SIZE

const val GATT_HEADER_SIZE: Int

Functions

isLwipBased

fun StackConfig.isLwipBased(): Boolean

true is configured with a Network Interface, false otherwise (default is true)