Interface ChannelContextSubscriber<T>

  • Type Parameters:
    T - type of the context data
    All Known Subinterfaces:
    ChannelContextDataSubscriber<T>

    public interface ChannelContextSubscriber<T>
    • Method Detail

      • 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