Interface Channels

    • Method Detail

      • names

        @Deprecated
        Collection<String> names()
        Deprecated.
        Returns a collection with currently known channel names.
        Returns:
        names of all known channels
      • all

        CompletionStage<Collection<String>> all()
        Returns a promise for collection with known channel names.
        Returns:
        completion stage that completes when channel names are available, never null
        Since:
        1.4.10
      • create

        default ChannelContext<Map<String,​Object>> create​(Window window)
        Creates a channel context for specified window.

        It is also possible to create channel context without window by passing null.

        Parameters:
        window - window for which to create channel context, or null
        Returns:
        channel context, never null