Package com.tick42.glue.desktop.channels
Interface Channels
public interface Channels
Channels.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionall()Returns a promise for collection with known channel names.default ChannelContext<Map<String,Object>> Creates a channel context for specified window.<T> ChannelContext<T>create(Window window, ReifiedType<T> contextType) names()Deprecated.
-
Method Details
-
names
Deprecated.Returns a collection with currently known channel names.- Returns:
- names of all known channels
-
all
CompletionStage<Collection<String>> all()Returns a promise for collection with known channel names.- Returns:
- completion stage that completes when channel names are available, never
null - Since:
- 1.4.10
-
create
Creates a channel context for specified window.It is also possible to create channel context without window by passing
null.- Parameters:
window- window for which to create channel context, ornull- Returns:
- channel context, never
null
-
create
-