IPWorks IoT 2020 Kotlin Edition

Questions / Feedback?

Error Event

This event is fired when the server sends a protocol error message.

Syntax

public open class DefaultXmppEventListener : XmppEventListener {
  ...
  public override fun error(e: XmppErrorEvent) {}
  ...
}

public class XmppErrorEvent {
  val errorCode: Int
  val description: String?
}

Remarks

This is fired whenever there is a protocol error. ErrorCode will contain the error code string sent by the server. Description will contain the Xmpp component's interpretation of the code.

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