FindChannels

FindChannels[]

gives a list of channels in your home area on the channel broker server.

FindChannels[None]

gives a list of your unnamed channels.

FindChannels[All]

gives a list of all channels owned by you.

FindChannels[form]

gives a list of channels in your home area whose names match the string pattern form.

FindChannels["/abspath"]

gives a list of channels whose names match the string pattern "/abspath".

FindChannels["mqtts://"]

gives a list of channels whose names match the specified pattern representing a URL.

Details and Options

Examples

open allclose all

Basic Examples  (1)

Create a few channels in your home area on the channel broker server:

And an anonymous channel:

Retrieve the channels in your home area from the server:

Retrieve your anonymous channels:

All your channels:

Delete the channels:

Scope  (7)

Basic Searches  (6)

List channels in your home area on the channel broker server:

List channels owned by you in the common area on the server:

All channels owned by you:

Find channels using an abbreviated string pattern:

Find channels using a StringExpression:

Channels in subdirectories of your home area:

Delete all the channels owned by you:

Advanced Searches  (1)

Search your channels by their absolute paths on the channel broker server:

Specify a pattern by URL:

Delete the channels:

Properties & Relations  (2)

Channels created with CreateChannel can be retrieved from the server with FindChannels:

Delete the channel:

If you know the channel name, you can create a ChannelObject reference for the channel immediately, without querying the server with FindChannels:

Retrieving the same reference from the server will typically be less efficient:

Delete the channel:

Possible Issues  (1)

An unescaped @ character in the username is treated as a wildcard:

Escape the @ character to find literal matches:

Introduced in 2016
 (11.0)
 |
Updated in 2020
 (12.1)