Interface Channels


public interface Channels
Channels.
See Also:
  • Method Details

    • names

      Collection<String> names()
      Returns a collection with currently known channel names.
      Returns:
      names of all known channels
    • 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)