SubOption Event

Fired when a Telnet SubOption command comes from the Telnet server.

Syntax

public open class DefaultTelnetEventListener : TelnetEventListener {
  ...
  public override fun subOption(e: TelnetSubOptionEvent) {}
  ...
}

public class TelnetSubOptionEvent {
  val subOption: ByteArray?
}

Remarks

The SubOption parameter contains the suboption data as sent by the other end. The enclosing suboption command codes are stripped away.

For a list of valid Telnet suboptions and their descriptions please look at the Telnet RFCs.

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