Package com.tick42.glue.desktop.channels

# Interface ChannelContextSubscriber<T>

Type Parameters:
  `T` - type of the context data

All Known Subinterfaces:
  `ChannelContextDataSubscriber<T>`

    public interface ChannelContextSubscriber<T>

- ## Method Summary

  Modifier and Type | Method | Description
  --- | --- | ---
  `default void` | `onChanged​(String channel)` | Invoked on channel change.
  `default void` | `onUpdated​(String channel, Map<String,​String> meta, T data)` | Invoked on context update.

- ## Method Details

  - ### onChanged

    default void onChanged​(String channel)
    Invoked on channel change.
    Parameters:
      `channel` - name of the new channel

  - ### onUpdated

    default void onUpdated​(String channel, Map<String,​String> meta, T data)
    Invoked on context update.
    Parameters:
      `channel` - name of the current channel
      `meta` - meta of the current channel context
      `data` - data of the current channel context