Class ChannelContexts
java.lang.Object
com.tick42.glue.internal.channels.ChannelContexts
- All Implemented Interfaces:
Channels
public class ChannelContexts extends Object implements Channels
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classChannelContexts.ChannelKey -
Constructor Summary
Constructors Constructor Description ChannelContexts(ContextPeer contextPeer, Interop interop) -
Method Summary
Modifier and Type Method Description reactor.core.publisher.Mono<?>changeChannelContext(ChannelContexts.ChannelKey channelKey, String channelName)static ChannelContexts.ChannelKeychannelKey(String key)static ChannelContexts.ChannelKeychannelKey(String type, long id)static ChannelContexts.ChannelKeychannelKey(String type, String id)static StringchannelName(String contextName)static StringcontextName(String channelName)<T> ChannelContext<T>create(Window window, ReifiedType<T> type)static booleanisChannelContext(String contextName)Collection<String>names()Returns a collection with currently known channel names.reactor.core.publisher.Mono<com.tick42.glue.internal.channels.Channel>register(ChannelContexts.ChannelKey channelKey, Consumer<String> listener)voidstart()voidstop()reactor.core.publisher.Mono<?>updateChannelData(ChannelContexts.ChannelKey channelKey, Map<String,Object> update)
-
Constructor Details
-
ChannelContexts
-
-
Method Details
-
channelKey
-
channelKey
-
channelKey
-
names
Description copied from interface:ChannelsReturns a collection with currently known channel names. -
start
public void start() -
stop
public void stop() -
create
-
register
public reactor.core.publisher.Mono<com.tick42.glue.internal.channels.Channel> register(ChannelContexts.ChannelKey channelKey, Consumer<String> listener) -
updateChannelData
public reactor.core.publisher.Mono<?> updateChannelData(ChannelContexts.ChannelKey channelKey, Map<String,Object> update) -
changeChannelContext
public reactor.core.publisher.Mono<?> changeChannelContext(ChannelContexts.ChannelKey channelKey, String channelName) -
contextName
-
isChannelContext
-
channelName
-