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 TypeMethodDescriptionSets the content of this message.static @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 needed 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 be prioritized over other channel messages.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 DriverEnvironment environment, @Nullable String name) Adds a channel message target to this message.ChannelMessage.Builder.target(@NonNull ChannelMessageTarget target) Adds the given target as a target of this message.ChannelMessage.Builder.target(ChannelMessageTarget.Type type, @Nullable String name) Adds a channel message target to this message.ChannelMessage.Builder.targetAll()Targets all components within the network.ChannelMessage.Builder.targetAll(ChannelMessageTarget.Type type) Targets all components with the given type.ChannelMessage.Builder.targetEnvironment(@NonNull ServiceEnvironmentType environment) Targets all services with the given environment within the network.ChannelMessage.Builder.targetNode(@Nullable String name) Targets a specific node within the network.ChannelMessage.Builder.targetNodes()Targets all nodes within the network.ChannelMessage.Builder.targetService(@Nullable String name) Targets a specific service in the network.ChannelMessage.Builder.targetServices()Targets all services within the network.ChannelMessage.Builder.targetTask(@Nullable String name) Targets all services of the given task within the network.