GoldenGateBindings / com.fitbit.goldengate.bindings.io / SingleMessageSender

SingleMessageSender

class SingleMessageSender : StackService

StackService for sending single message over attached GG stack

Constructors

<init>

SingleMessageSender()

StackService for sending single message over attached GG stack

Functions

attach

fun attach(dataSinkDataSource: DataSinkDataSource): Unit

Attach the source and sink

close

fun close(): Unit

detach

fun detach(): Unit

send

fun send(message: ByteArray): Completable

Send a single message to attached Node. It is required to call attach before calling this method

Inherited Functions

setFilterGroup

open fun setFilterGroup(group: CoapGroupRequestFilterMode, key: NodeKey<String>): Unit

Update the current filter group used by the CoAP request filter.