public static interface AblyRealtime.Channels extends ReadOnlyMap<java.lang.String,Channel>
| Modifier and Type | Method and Description |
|---|---|
Channel |
get(java.lang.String channelName)
Get the named channel; if it does not already exist,
create it with default options.
|
Channel |
get(java.lang.String channelName,
ChannelOptions channelOptions)
Get the named channel and set the given options, creating it
if it does not already exist.
|
void |
release(java.lang.String channelName)
Remove this channel from this AblyRealtime instance.
|
containsKey, containsValue, entrySet, get, isEmpty, keySet, size, valuesChannel get(java.lang.String channelName)
channelName - the name of the channelChannel get(java.lang.String channelName, ChannelOptions channelOptions) throws AblyException
channelName - the name of the channelchannelOptions - the options to set (null to clear options on an existing channel)AblyExceptionvoid release(java.lang.String channelName)
channelName - the name of the channel