Uses of Record Class
eu.cloudnetservice.driver.channel.ChannelMessage
Packages that use ChannelMessage
Package
Description
-
Uses of ChannelMessage in eu.cloudnetservice.driver.channel
Methods in eu.cloudnetservice.driver.channel that return ChannelMessageModifier and TypeMethodDescriptionChannelMessage.Builder.build()Builds a channel message from this builder, using an empty buffer as the content.Builds a channel message from this builder, using the given buffer as the content of it.ChannelMessage.Builder.build(@NonNull UnaryOperator<DataBuf.Mutable> contentDecorator) Builds a channel message from this builder, using the given decorator function to write the content of the channel message into the buffer before building.ChannelMessage.sendSingleQuery()Sends this channel message as a query and blocks until one of the target component responded to this message or the timeout ofCloudMessenger.SYNC_CHANNEL_MESSAGE_QUERY_TIMEOUT_MSis exceeded.Methods in eu.cloudnetservice.driver.channel that return types with arguments of type ChannelMessageModifier and TypeMethodDescriptionChannelMessage.sendQuery()Sends this channel message as a query and blocks until all target components have responded to the query or the timeout ofCloudMessenger.SYNC_CHANNEL_MESSAGE_QUERY_TIMEOUT_MSis exceeded.ChannelMessage.sendQueryAsync()Sends this channel message as a query and returns a future which waits for target component(s) to respond.ChannelMessage.sendSingleQueryAsync()Sends this channel message as a query and returns a future which waits for target component(s) to respond.Methods in eu.cloudnetservice.driver.channel with parameters of type ChannelMessageModifier and TypeMethodDescriptionstatic @NonNull ChannelMessage.BuilderChannelMessage.buildResponseFor(@NonNull ChannelMessage input) Constructs a new builder which contains all necessary data to respond to a channel message. -
Uses of ChannelMessage in eu.cloudnetservice.driver.event.events.channel
Fields in eu.cloudnetservice.driver.event.events.channel declared as ChannelMessageModifier and TypeFieldDescriptionprivate final ChannelMessageChannelMessageReceiveEvent.channelMessageFields in eu.cloudnetservice.driver.event.events.channel with type parameters of type ChannelMessageModifier and TypeFieldDescriptionprivate CompletableFuture<ChannelMessage> ChannelMessageReceiveEvent.queryResponseMethods in eu.cloudnetservice.driver.event.events.channel that return ChannelMessageModifier and TypeMethodDescriptionChannelMessageReceiveEvent.channelMessage()Get the original channel message which was sent.Methods in eu.cloudnetservice.driver.event.events.channel that return types with arguments of type ChannelMessageModifier and TypeMethodDescriptionChannelMessageReceiveEvent.queryResponse()Get the current query response to the received channel message.Methods in eu.cloudnetservice.driver.event.events.channel with parameters of type ChannelMessageModifier and TypeMethodDescriptionvoidChannelMessageReceiveEvent.queryResponse(@Nullable ChannelMessage queryResponse) Sets the query response of the received channel message to the given channel message.Method parameters in eu.cloudnetservice.driver.event.events.channel with type arguments of type ChannelMessageModifier and TypeMethodDescriptionvoidChannelMessageReceiveEvent.queryResponse(@Nullable CompletableFuture<ChannelMessage> queryResponse) Sets the query response of the received channel message to the given channel message.Constructors in eu.cloudnetservice.driver.event.events.channel with parameters of type ChannelMessageModifierConstructorDescriptionChannelMessageReceiveEvent(@NonNull ChannelMessage message, @NonNull NetworkChannel networkChannel, boolean query) Constructs a new instance of a channel message receive event. -
Uses of ChannelMessage in eu.cloudnetservice.driver.provider
Methods in eu.cloudnetservice.driver.provider that return ChannelMessageModifier and TypeMethodDescriptionCloudMessenger.sendSingleChannelMessageQuery(@NonNull ChannelMessage channelMessage) Sends the given channel message as a query and blocks until one of the target component responded to the message or the timeout ofCloudMessenger.SYNC_CHANNEL_MESSAGE_QUERY_TIMEOUT_MSis exceeded.Methods in eu.cloudnetservice.driver.provider that return types with arguments of type ChannelMessageModifier and TypeMethodDescriptionCloudMessenger.sendChannelMessageQuery(@NonNull ChannelMessage channelMessage) Sends the given channel message as a query and blocks until all target components have responded or the timeout ofCloudMessenger.SYNC_CHANNEL_MESSAGE_QUERY_TIMEOUT_MSis exceeded.CloudMessenger.sendChannelMessageQueryAsync(@NonNull ChannelMessage message) Sends the given channel message as a query and returns a future which waits for target component(s) to respond.CloudMessenger.sendSingleChannelMessageQueryAsync(@NonNull ChannelMessage channelMessage) Sends the given channel message as a query and returns a future which waits for target component(s) to respond.Methods in eu.cloudnetservice.driver.provider with parameters of type ChannelMessageModifier and TypeMethodDescriptionvoidCloudMessenger.sendChannelMessage(@NonNull ChannelMessage channelMessage) Sends the given channel message to all of its targets.CloudMessenger.sendChannelMessageAsync(@NonNull ChannelMessage channelMessage) Sends the given channel message to all of its targets.CloudMessenger.sendChannelMessageQuery(@NonNull ChannelMessage channelMessage) Sends the given channel message as a query and blocks until all target components have responded or the timeout ofCloudMessenger.SYNC_CHANNEL_MESSAGE_QUERY_TIMEOUT_MSis exceeded.CloudMessenger.sendChannelMessageQueryAsync(@NonNull ChannelMessage message) Sends the given channel message as a query and returns a future which waits for target component(s) to respond.CloudMessenger.sendSingleChannelMessageQuery(@NonNull ChannelMessage channelMessage) Sends the given channel message as a query and blocks until one of the target component responded to the message or the timeout ofCloudMessenger.SYNC_CHANNEL_MESSAGE_QUERY_TIMEOUT_MSis exceeded.CloudMessenger.sendSingleChannelMessageQueryAsync(@NonNull ChannelMessage channelMessage) Sends the given channel message as a query and returns a future which waits for target component(s) to respond.