Class WebsocketScopeManager.AbstractScope

    • Field Detail

      • channelTokens

        protected Map<String,​List<WebsocketChannel>> channelTokens
        This map hold all tokens that are related to the current scope. This map use as key channel and as value channelTokens
    • Constructor Detail

      • AbstractScope

        public AbstractScope()
    • Method Detail

      • isChannelAvailable

        public boolean isChannelAvailable​(String channel)
        Indicate if the channel mentioned is valid for view scope. A channel is valid if there is at least one token that represents a valid connection to this channel.
        Parameters:
        channel -
        Returns: