SecureBlackbox 2020 Kotlin Edition

Questions / Feedback?

TextData Event

Passes a received chunk of text data to the application.

Syntax

public open class DefaultWebsocketserverEventListener : WebsocketserverEventListener {
  ...
  public override fun textData(e: WebsocketserverTextDataEvent) {}
  ...
}

public class WebsocketserverTextDataEvent {
  val connectionID: Long
  val text: String?
  val last: Boolean
}

Remarks

The component fires this event repeatedly to pass incoming pieces of text data to the application. The Last parameter indicates that this is the last chunk.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 Kotlin Edition - Version 20.0 [Build 8063]