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.NetworkChannelPacketReceiveEvent(@NonNull NetworkChannel channel, @NonNull Packet packet) Creates a new instance of this network event.NetworkChannelPacketSendEvent(@NonNull NetworkChannel channel, @NonNull Packet packet) 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
Classes in eu.cloudnetservice.driver.network that implement NetworkChannelModifier and TypeClassDescriptionclassThe default abstract implementation of a network channel.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.DefaultNetworkComponent.modifiableChannels()Get the collection of channels which are connected to this network 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.chunk.defaults.builder
Methods in eu.cloudnetservice.driver.network.chunk.defaults.builder with parameters of type NetworkChannelModifier and TypeMethodDescriptionDefaultChunkedPacketSenderBuilder.toChannels(NetworkChannel @NonNull ... channels) Sends each chunk data packet to all the provided channels.Method parameters in eu.cloudnetservice.driver.network.chunk.defaults.builder with type arguments of type NetworkChannelModifier and TypeMethodDescriptionDefaultChunkedPacketSenderBuilder.toChannels(@NonNull Collection<NetworkChannel> channels) Sends each chunk data packet to all the provided channels. -
Uses of NetworkChannel in eu.cloudnetservice.driver.network.chunk.defaults.splitter
Fields in eu.cloudnetservice.driver.network.chunk.defaults.splitter with type parameters of type NetworkChannelModifier and TypeFieldDescriptionprivate final @NonNull Collection<NetworkChannel>NetworkChannelsPacketSplitter.channelsThe field for thechannelsrecord component.Methods in eu.cloudnetservice.driver.network.chunk.defaults.splitter that return types with arguments of type NetworkChannelModifier and TypeMethodDescriptionNetworkChannelsPacketSplitter.channels()Returns the value of thechannelsrecord component.Constructor parameters in eu.cloudnetservice.driver.network.chunk.defaults.splitter with type arguments of type NetworkChannelModifierConstructorDescriptionCreates an instance of aNetworkChannelsPacketSplitterrecord class. -
Uses of NetworkChannel in eu.cloudnetservice.driver.network.chunk.network
Methods in eu.cloudnetservice.driver.network.chunk.network with parameters of type NetworkChannelModifier and TypeMethodDescriptionvoidChunkedPacketListener.handle(@NonNull NetworkChannel channel, @NonNull Packet packet) Handles the incoming packet. -
Uses of NetworkChannel in eu.cloudnetservice.driver.network.netty
Classes in eu.cloudnetservice.driver.network.netty that implement NetworkChannelModifier and TypeClassDescriptionfinal classThe default netty based implementation of a network channel.Methods in eu.cloudnetservice.driver.network.netty that return types with arguments of type NetworkChannelModifier and TypeMethodDescriptionprotected abstract @NonNull Collection<NetworkChannel>NettyNetworkHandler.channels()Get all channels which are connected to the underlying network component. -
Uses of NetworkChannel in eu.cloudnetservice.driver.network.netty.client
Fields in eu.cloudnetservice.driver.network.netty.client with type parameters of type NetworkChannelModifier and TypeFieldDescriptionprotected final Collection<NetworkChannel>NettyNetworkClient.channelsMethods in eu.cloudnetservice.driver.network.netty.client that return types with arguments of type NetworkChannelModifier and TypeMethodDescriptionNettyNetworkClient.channels()Get an immutable collection of all channels which are associated with this component.protected @NonNull Collection<NetworkChannel>NettyNetworkClientHandler.channels()Get all channels which are connected to the underlying network component.NettyNetworkClient.modifiableChannels()Get the collection of channels which are connected to this network component. -
Uses of NetworkChannel in eu.cloudnetservice.driver.network.netty.server
Fields in eu.cloudnetservice.driver.network.netty.server with type parameters of type NetworkChannelModifier and TypeFieldDescriptionprotected final Collection<NetworkChannel>NettyNetworkServer.channelsMethods in eu.cloudnetservice.driver.network.netty.server that return types with arguments of type NetworkChannelModifier and TypeMethodDescriptionNettyNetworkServer.channels()Get an immutable collection of all channels which are associated with this component.protected @NonNull Collection<NetworkChannel>NettyNetworkServerHandler.channels()Get all channels which are connected to the underlying network component.NettyNetworkServer.modifiableChannels()Get the collection of channels which are connected to this network component. -
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.voidPacketListenerRegistry.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.protocol.defaults
Fields in eu.cloudnetservice.driver.network.protocol.defaults declared as NetworkChannelModifier and TypeFieldDescriptionprivate final NetworkChannelDefaultQueryPacketManager.networkChannelMethods in eu.cloudnetservice.driver.network.protocol.defaults that return NetworkChannelModifier and TypeMethodDescriptionDefaultQueryPacketManager.networkChannel()Get the network channel this manager is associated with.Methods in eu.cloudnetservice.driver.network.protocol.defaults with parameters of type NetworkChannelModifier and TypeMethodDescriptionvoidDefaultPacketListenerRegistry.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.Constructors in eu.cloudnetservice.driver.network.protocol.defaults with parameters of type NetworkChannelModifierConstructorDescriptionDefaultQueryPacketManager(@NonNull NetworkChannel networkChannel) Constructs a new query manager for the given network channel and a timeout of 30 seconds for each query.DefaultQueryPacketManager(@NonNull NetworkChannel networkChannel, @NonNull Duration queryTimeout) Constructs a new query manager for the given network with the provided query timeout. -
Uses of NetworkChannel in eu.cloudnetservice.driver.network.rpc
Methods in eu.cloudnetservice.driver.network.rpc that return NetworkChannelModifier and TypeMethodDescriptionRPCInvocationContext.channel()Get the network channel from which the invocation request came.Methods in eu.cloudnetservice.driver.network.rpc with parameters of type NetworkChannelModifier and TypeMethodDescriptionRPCInvocationContext.Builder.channel(@NonNull NetworkChannel channel) Sets the channel from which the request to invoke the method came.<T> @NonNull eu.cloudnetservice.common.concurrent.Task<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. -
Uses of NetworkChannel in eu.cloudnetservice.driver.network.rpc.defaults.handler.context
Fields in eu.cloudnetservice.driver.network.rpc.defaults.handler.context declared as NetworkChannelModifier and TypeFieldDescriptionprotected final NetworkChannelDefaultRPCInvocationContext.channelprotected NetworkChannelDefaultRPCInvocationContextBuilder.channelMethods in eu.cloudnetservice.driver.network.rpc.defaults.handler.context that return NetworkChannelModifier and TypeMethodDescriptionDefaultRPCInvocationContext.channel()Get the network channel from which the invocation request came.Methods in eu.cloudnetservice.driver.network.rpc.defaults.handler.context with parameters of type NetworkChannelModifier and TypeMethodDescriptionDefaultRPCInvocationContextBuilder.channel(@NonNull NetworkChannel channel) Sets the channel from which the request to invoke the method came.Constructors in eu.cloudnetservice.driver.network.rpc.defaults.handler.context with parameters of type NetworkChannelModifierConstructorDescriptionprotectedDefaultRPCInvocationContext(int argumentCount, boolean expectsMethodResult, boolean normalizePrimitives, boolean strictInstanceUsage, @NonNull String methodName, @NonNull NetworkChannel channel, @NonNull DataBuf arguments, @Nullable Object workingInstance) Constructs a new default rpc invocation context instance. -
Uses of NetworkChannel in eu.cloudnetservice.driver.network.rpc.defaults.rpc
Methods in eu.cloudnetservice.driver.network.rpc.defaults.rpc with parameters of type NetworkChannelModifier and TypeMethodDescription<T> @NonNull eu.cloudnetservice.common.concurrent.Task<T>DefaultRPC.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.<T> @NonNull eu.cloudnetservice.common.concurrent.Task<T>DefaultRPCChain.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.voidDefaultRPC.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.voidDefaultRPCChain.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> TDefaultRPC.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.<T> TDefaultRPCChain.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. -
Uses of NetworkChannel in eu.cloudnetservice.driver.network.rpc.generation
Fields in eu.cloudnetservice.driver.network.rpc.generation with type parameters of type NetworkChannelModifier and TypeFieldDescriptionprivate Supplier<NetworkChannel>GenerationContext.Builder.channelSupplierprivate final @Nullable Supplier<NetworkChannel>GenerationContext.channelSupplierThe field for thechannelSupplierrecord component.Methods in eu.cloudnetservice.driver.network.rpc.generation that return types with arguments of type NetworkChannelModifier and TypeMethodDescriptionGenerationContext.channelSupplier()Returns the value of thechannelSupplierrecord component.Method parameters in eu.cloudnetservice.driver.network.rpc.generation with type arguments of type NetworkChannelModifier and TypeMethodDescriptionGenerationContext.Builder.channelSupplier(@Nullable Supplier<NetworkChannel> channelSupplier) Sets the supplier for the network component that is used when firing rpc.Constructor parameters in eu.cloudnetservice.driver.network.rpc.generation with type arguments of type NetworkChannelModifierConstructorDescriptionGenerationContext(@Nullable NetworkComponent component, @Nullable Supplier<NetworkChannel> channelSupplier, @Nullable ObjectMapper objectMapper, @Nullable DataBufFactory dataBufFactory, @Nullable Class<?> extendingClass, @NonNull Set<Class<?>> interfaces, boolean implementAllMethods) Creates an instance of aGenerationContextrecord class. -
Uses of NetworkChannel in eu.cloudnetservice.driver.network.rpc.listener
Methods in eu.cloudnetservice.driver.network.rpc.listener with parameters of type NetworkChannelModifier and TypeMethodDescriptionprotected @NonNull RPCInvocationContextRPCPacketListener.buildContext(@NonNull NetworkChannel channel, @NonNull DataBuf content, @Nullable Object on, boolean strictInstanceUsage) Builds a new context for a rpc method invocation based on the given information and remaining content in the buffer.voidRPCPacketListener.handle(@NonNull NetworkChannel channel, @NonNull Packet packet) Handles the incoming packet.