IPWorks SSH 2020 Kotlin Edition

Questions / Feedback?

Channels Property

A collection of currently open channels.

Syntax

public val channels: SSHRTChannelMap

Remarks

This property is a collection of established channels. When a client connects to an existing reverse tunnel a new channel is requested and added to this collection. This collection is a hashtable where the channel's Id string is used as the key to the desired SSH channel object.

Example (Sending Data to a Channel)


channels.item("1").setDataToSend("channel specific data");

This property is read-only.

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