Uses of Interface
me.internalizable.numdrassl.api.messaging.channel.MessageChannel
Packages that use MessageChannel
Package
Description
Cross-proxy messaging API for distributed Numdrassl deployments.
Channel definitions and registry for cross-proxy messaging.
Handler interfaces for message processing.
-
Uses of MessageChannel in me.internalizable.numdrassl.api.messaging
Methods in me.internalizable.numdrassl.api.messaging that return MessageChannelModifier and TypeMethodDescriptionSubscription.getChannel()Get the channel this subscription is for.Methods in me.internalizable.numdrassl.api.messaging with parameters of type MessageChannelModifier and TypeMethodDescriptionMessagingService.publish(MessageChannel channel, ChannelMessage message) Publish a message to a channel.<T extends ChannelMessage>
SubscriptionMessagingService.subscribe(MessageChannel channel, Class<T> messageType, MessageHandler<T> handler) Subscribe to messages of a specific type on a channel.MessagingService.subscribe(MessageChannel channel, MessageHandler<ChannelMessage> handler) Subscribe to messages on a channel.MessagingService.subscribeIncludingSelf(MessageChannel channel, MessageHandler<ChannelMessage> handler) Subscribe to messages on a channel, including messages from the local proxy.voidMessagingService.unsubscribeAll(MessageChannel channel) Unsubscribe all handlers from a channel. -
Uses of MessageChannel in me.internalizable.numdrassl.api.messaging.channel
Fields in me.internalizable.numdrassl.api.messaging.channel declared as MessageChannelModifier and TypeFieldDescriptionstatic final MessageChannelChannels.BROADCASTBroadcast messages to all proxies.static final MessageChannelChannels.CHATCross-proxy chat messages.static final MessageChannelChannels.HEARTBEATProxy heartbeat and registration.static final MessageChannelChannels.PLAYER_COUNTPlayer count updates.static final MessageChannelChannels.PLUGINPlugin-defined custom messages (generic).static final MessageChannelChannels.TRANSFERPlayer transfer coordination.Methods in me.internalizable.numdrassl.api.messaging.channel that return MessageChannelModifier and TypeMethodDescriptionstatic MessageChannelGet a channel by its ID.static MessageChannelChannels.getOrRegister(String channelId) Get a channel by its ID, registering it if not found.static MessageChannelRegister a custom channel using full ID format.static MessageChannelRegister a custom message channel.SystemChannel.toMessageChannel()Get the corresponding MessageChannel instance.Methods in me.internalizable.numdrassl.api.messaging.channel that return types with arguments of type MessageChannelModifier and TypeMethodDescriptionstatic Collection<MessageChannel> Channels.all()Get all registered channels. -
Uses of MessageChannel in me.internalizable.numdrassl.api.messaging.handler
Methods in me.internalizable.numdrassl.api.messaging.handler with parameters of type MessageChannelModifier and TypeMethodDescriptionvoidMessageHandler.handle(MessageChannel channel, T message) Handle an incoming message.