hasChannel

public boolean hasChannel(ChannelId id)

Checks if this channel hub contains a channel with a given ID.

Return

true if such a channel is established in this hub, false otherwise

Parameters

id

the ID of the channel

See also