IPWorks IoT 2020 Kotlin Edition

Questions / Feedback?

Subscribed Event

Fired when the component has subscribed to a message destination on the server.

Syntax

public open class DefaultStompEventListener : StompEventListener {
  ...
  public override fun subscribed(e: StompSubscribedEvent) {}
  ...
}

public class StompSubscribedEvent {
  val id: String?
  val destination: String?
  val requireAcks: Boolean
}

Remarks

This event fires each time the component has subscribed to a message destination on the server. The following parameters are available within this event:

  • Id: The Id used to identify the subscription.
  • Destination: The message destination on the server which the subscription is associated with.
  • RequireAcks: Whether messages the component receives as a result of the subscription will require acknowledgments to be sent back to the server.

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks IoT 2020 Kotlin Edition - Version 20.0 [Build 7941]