Uses of Interface
eu.cloudnetservice.driver.network.NetworkChannel
Packages that use NetworkChannel
Package
Description
-
Uses of NetworkChannel in eu.cloudnetservice.driver.event.events.channel
Constructors in eu.cloudnetservice.driver.event.events.channel with parameters of type NetworkChannelModifierConstructorDescriptionChannelMessageReceiveEvent(@NonNull ChannelMessage message, @NonNull NetworkChannel networkChannel, boolean query) Constructs a new instance of a channel message receive event. -
Uses of NetworkChannel in eu.cloudnetservice.driver.event.events.network
Fields in eu.cloudnetservice.driver.event.events.network declared as NetworkChannelMethods in eu.cloudnetservice.driver.event.events.network that return NetworkChannelModifier and TypeMethodDescriptionNetworkEvent.networkChannel()Get the channel which is associated with this event.Constructors in eu.cloudnetservice.driver.event.events.network with parameters of type NetworkChannelModifierConstructorDescriptionNetworkChannelCloseEvent(@NonNull NetworkChannel channel, @NonNull ChannelType channelType) Creates a new instance of this network event.NetworkChannelInitEvent(@NonNull NetworkChannel channel, @NonNull ChannelType channelType) Creates a new instance of this network event.NetworkEvent(@NonNull NetworkChannel channel) Creates a new instance of this network event. -
Uses of NetworkChannel in eu.cloudnetservice.driver.network
Methods in eu.cloudnetservice.driver.network that return NetworkChannelModifier and TypeMethodDescriptiondefault @UnknownNullability NetworkChannelNetworkComponent.firstChannel()Get the first channel which is known to this component or null if no channel is present.Methods in eu.cloudnetservice.driver.network that return types with arguments of type NetworkChannelModifier and TypeMethodDescriptionNetworkComponent.channels()Get an immutable collection of all channels which are associated with this component.Methods in eu.cloudnetservice.driver.network with parameters of type NetworkChannelModifier and TypeMethodDescriptionvoidNetworkChannelHandler.handleChannelClose(@NonNull NetworkChannel channel) Handles the inactivation processing of a channel, at this point the channel was closed either by a local handler or the remote directly.voidNetworkChannelHandler.handleChannelInitialize(@NonNull NetworkChannel channel) Handles the initialization of the channel, called the first time when a channel becomes active.booleanNetworkChannelHandler.handlePacketReceive(@NonNull NetworkChannel channel, @NonNull Packet packet) Handles the receive of a packet on the channel this handler is bound to. -
Uses of NetworkChannel in eu.cloudnetservice.driver.network.chunk
Methods in eu.cloudnetservice.driver.network.chunk with parameters of type NetworkChannelModifier and TypeMethodDescriptionChunkedPacketSender.Builder.toChannels(NetworkChannel @NonNull ... channels) Sends each chunk data packet to all the provided channels.Method parameters in eu.cloudnetservice.driver.network.chunk with type arguments of type NetworkChannelModifier and TypeMethodDescriptionChunkedPacketSender.Builder.toChannels(@NonNull Collection<NetworkChannel> channels) Sends each chunk data packet to all the provided channels. -
Uses of NetworkChannel in eu.cloudnetservice.driver.network.protocol
Methods in eu.cloudnetservice.driver.network.protocol that return NetworkChannelModifier and TypeMethodDescriptionQueryPacketManager.networkChannel()Get the network channel this manager is associated with.Methods in eu.cloudnetservice.driver.network.protocol with parameters of type NetworkChannelModifier and TypeMethodDescriptionvoidPacketListener.handle(@NonNull NetworkChannel channel, @NonNull Packet packet) Handles the incoming packet.booleanPacketListenerRegistry.handlePacket(@NonNull NetworkChannel channel, @NonNull Packet packet) Handles an incoming packets and post this to all listeners which are registered to the channel the packet was sent to. -
Uses of NetworkChannel in eu.cloudnetservice.driver.network.rpc
Methods in eu.cloudnetservice.driver.network.rpc with parameters of type NetworkChannelModifier and TypeMethodDescription<T> @NonNull CompletableFuture<T> RPCExecutable.fire(@NonNull NetworkChannel component) Fires the current rpc into the given network channel and returns a future which will be completed with the return value of the method execution when it's available or completed with a timeout exception when the query packet future times out.voidRPCExecutable.fireAndForget(@NonNull NetworkChannel component) Fires the current rpc into the given network channel and doesn't wait for the result of the rpc to become available.<T> TRPCExecutable.fireSync(@NonNull NetworkChannel component) Fires the current rpc into the given network channel and waits for the result to become available, or times out after 30 seconds.RPCSender.Builder.targetChannel(@NonNull NetworkChannel channel) Sets the singleton channel that will be used to send all RPCs that are using this sender to.Method parameters in eu.cloudnetservice.driver.network.rpc with type arguments of type NetworkChannelModifier and TypeMethodDescriptionRPCSender.Builder.targetChannel(@NonNull Supplier<NetworkChannel> channelSupplier) Sets the supplier to use to resolve the network channel to which RPCs using this sender should be sent. -
Uses of NetworkChannel in eu.cloudnetservice.driver.network.rpc.factory
Methods in eu.cloudnetservice.driver.network.rpc.factory with parameters of type NetworkChannelModifier and TypeMethodDescriptionRPCImplementationBuilder.targetChannel(@NonNull NetworkChannel channel) Sets the singleton channel that will be used to send all RPCs to.Method parameters in eu.cloudnetservice.driver.network.rpc.factory with type arguments of type NetworkChannelModifier and TypeMethodDescriptionRPCImplementationBuilder.targetChannel(@NonNull Supplier<NetworkChannel> channelSupplier) Sets the supplier to use to resolve the network channel to which RPCs should be sent.RPCImplementationBuilder.InstanceAllocator.withTargetChannel(@NonNull Supplier<NetworkChannel> channelSupplier) Returns a new instance allocator which uses the given channel supplier when constructing the underlying implementation.