MessageEndpointListener
MessageEndpointListener to serve incoming message endpoint connection.
actual class MessageEndpointListener(config: MessageEndpointListenerConfiguration) : DelegatedClass<<Error class: unknown class>> (source)
Functions
Link copied to clipboard
Accept a new connection.
Link copied to clipboard
Add a change listener.
expect fun addChangeListener(context: CoroutineContext, listener: MessageEndpointListenerChangeSuspendListener): ListenerToken
Add a change listener with a CoroutineContext that will be used to launch coroutines the listener will be called on. Coroutines will be launched in a CoroutineScope that is canceled when the listener is removed.
expect fun addChangeListener(scope: CoroutineScope, listener: MessageEndpointListenerChangeSuspendListener)
Add a change listener with a CoroutineScope that will be used to launch coroutines the listener will be called on. The listener is removed when the scope is canceled.
actual fun addChangeListener(context: CoroutineContext, listener: MessageEndpointListenerChangeSuspendListener): ListenerToken
actual fun addChangeListener(scope: CoroutineScope, listener: MessageEndpointListenerChangeSuspendListener)
actual fun addChangeListener(context: CoroutineContext, listener: MessageEndpointListenerChangeSuspendListener): ListenerToken
actual fun addChangeListener(scope: CoroutineScope, listener: MessageEndpointListenerChangeSuspendListener)
Link copied to clipboard
Close the given connection.
Link copied to clipboard
fun MessageEndpointListener.messageEndpointChangeFlow(coroutineContext: CoroutineContext? = null): Flow<MessageEndpointListenerChange>
ENTERPRISE EDITION API
Link copied to clipboard
Remove a change listener.