Package com.tick42.glue.desktop.channels

# Interface ChannelContextDataSubscriber<T>

All Superinterfaces:
  `ChannelContextSubscriber<T>`

Functional Interface:
  This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface ChannelContextDataSubscriber<T>
    extends ChannelContextSubscriber<T>

- ## Method Summary

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

  ### Methods inherited from interface com.tick42.glue.desktop.channels.ChannelContextSubscriber

  `onChanged`

- ## Method Details

  - ### onUpdated

    default void onUpdated​(String channel, Map<String,​String> meta, T data)
    Description copied from interface: `ChannelContextSubscriber`
    Invoked on context update.
    Specified by:
      `onUpdated` in interface `ChannelContextSubscriber<T>`
    Parameters:
      `channel` - name of the current channel
      `meta` - meta of the current channel context
      `data` - data of the current channel context

  - ### onUpdated

    void onUpdated​(String channel, T data)