Package com.tick42.glue.internal.windows
Class WindowChannelEventSupport
java.lang.Object
com.tick42.glue.internal.windows.EventSupport<Window,WindowChannelChangedEvent>
com.tick42.glue.internal.windows.WindowChannelEventSupport
- All Implemented Interfaces:
AsynchronousCloseable,AutoCloseable
public final class WindowChannelEventSupport extends EventSupport<Window,WindowChannelChangedEvent>
-
Constructor Summary
Constructors Constructor Description WindowChannelEventSupport(Window window, ChannelContexts.ChannelKey channelKey) -
Method Summary
Modifier and Type Method Description ChannelContexts.ChannelKeygetChannelContextKey()Optional<String>getChannelKey()voidnotifyChannelChanged(String channel)GlueEvent.Subscription<WindowChannelChangedEvent>onChannelChanged(WindowChannelChangedEvent.Listener listener)Methods inherited from class com.tick42.glue.internal.windows.EventSupport
closeAsync, emit, on, onCloseMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.tick42.glue.core.AsynchronousCloseable
close
-
Constructor Details
-
WindowChannelEventSupport
-
-
Method Details
-
onChannelChanged
public GlueEvent.Subscription<WindowChannelChangedEvent> onChannelChanged(WindowChannelChangedEvent.Listener listener) -
notifyChannelChanged
-
getChannelContextKey
-
getChannelKey
-