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 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)