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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidonUpdated(String channel, Map<String,String> meta, T data)Invoked on context update.voidonUpdated(String channel, T data)-
Methods inherited from interface com.tick42.glue.desktop.channels.ChannelContextSubscriber
onChanged
-
-
-
-
Method Detail
-
onUpdated
default void onUpdated(String channel, Map<String,String> meta, T data)
Description copied from interface:ChannelContextSubscriberInvoked on context update.- Specified by:
onUpdatedin interfaceChannelContextSubscriber<T>- Parameters:
channel- name of the current channelmeta- meta of the current channel contextdata- data of the current channel context
-
-