Interface Channels


public interface Channels
Channels.
See Also:
  • Method Details

    • names

      Deprecated.
      Returns a collection with currently known channel names.
      Returns:
      names of all known channels
    • 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
    • create

      <T> ChannelContext<T> create(Window window, ReifiedType<T> contextType)