Uses of Class
eu.cloudnetservice.driver.channel.ChannelMessage.Builder
Packages that use ChannelMessage.Builder
-
Uses of ChannelMessage.Builder in eu.cloudnetservice.driver.channel
Methods in eu.cloudnetservice.driver.channel that return ChannelMessage.BuilderModifier and TypeMethodDescriptionstatic @NonNull ChannelMessage.BuilderChannelMessage.builder()Constructs a new, empty builder for a ChannelMessage.static @NonNull ChannelMessage.BuilderChannelMessage.buildResponseFor(@NonNull ChannelMessage input) Constructs a new builder which contains all necessary data to respond to a channel message.Sets the channel of this message.Sets the message key of this message.ChannelMessage.Builder.prioritized(boolean prioritized) Sets if the channel message should get prioritized processing on the receiving components.ChannelMessage.Builder.sender(@NonNull ChannelMessageSender sender) Sets the sender of this message.ChannelMessage.Builder.sendSync(boolean sync) Sets if the channel message should get send sync, blocking the sending thread until the message was written and flushed through the network layer.ChannelMessage.Builder.target(@NonNull ChannelMessageTarget target) Adds the given channel message target as a target of this message.ChannelMessage.Builder.targetAll()Targets all components within the network.ChannelMessage.Builder.targetNode(@NonNull String nodeId) Targets a specific node within the network.ChannelMessage.Builder.targetNodes()Targets all nodes within the network.ChannelMessage.Builder.targetService(@NonNull String serviceName) Targets a specific service in the network.ChannelMessage.Builder.targetServices()Targets all services within the network.ChannelMessage.Builder.targetServicesOfEnvironment(@NonNull String environmentName) Targets all services with the given environment within the network.ChannelMessage.Builder.targetServicesOfGroup(@NonNull String groupName) Targets all services of the given group within the network.ChannelMessage.Builder.targetServicesOfTask(@NonNull String taskName) Targets all services of the given task within the network.ChannelMessage.Builder.targetServicesWithProperty(@NonNull String propertyKey) Targets all services that have the given property key associated with any value within the network.