Uses of Interface
eu.cloudnetservice.driver.network.chunk.ChunkedPacketHandler
Packages that use ChunkedPacketHandler
Package
Description
-
Uses of ChunkedPacketHandler in eu.cloudnetservice.driver.event.events.chunk
Fields in eu.cloudnetservice.driver.event.events.chunk declared as ChunkedPacketHandlerModifier and TypeFieldDescriptionprivate ChunkedPacketHandlerChunkedPacketSessionOpenEvent.chunkedPacketHandlerMethods in eu.cloudnetservice.driver.event.events.chunk that return ChunkedPacketHandlerModifier and TypeMethodDescriptionChunkedPacketSessionOpenEvent.handler()Get the handler which should be used to open the session.Methods in eu.cloudnetservice.driver.event.events.chunk with parameters of type ChunkedPacketHandlerModifier and TypeMethodDescriptionvoidChunkedPacketSessionOpenEvent.handler(@Nullable ChunkedPacketHandler chunkedPacketHandler) Sets the handler which should be used to open session. -
Uses of ChunkedPacketHandler in eu.cloudnetservice.driver.network.chunk.defaults
Classes in eu.cloudnetservice.driver.network.chunk.defaults that implement ChunkedPacketHandlerModifier and TypeClassDescriptionclassRepresents a handler for a chunked packet transfer which transfers a file.Fields in eu.cloudnetservice.driver.network.chunk.defaults with type parameters of type ChunkedPacketHandlerModifier and TypeFieldDescriptionprivate final Map<UUID, ChunkedPacketHandler> ChunkedSessionRegistry.runningSessionsMethods in eu.cloudnetservice.driver.network.chunk.defaults that return ChunkedPacketHandlerModifier and TypeMethodDescriptionChunkedSessionRegistry.getOrCreateSession(@NonNull ChunkSessionInformation sessionInformation, @NonNull Function<ChunkSessionInformation, ChunkedPacketHandler> sessionFactory) Gets the currently active session or creates a new session using the given instance factory.Methods in eu.cloudnetservice.driver.network.chunk.defaults with parameters of type ChunkedPacketHandlerModifier and TypeMethodDescriptionvoidChunkedSessionRegistry.registerSession(@NonNull UUID sessionId, @NonNull ChunkedPacketHandler handler) Registers the given handler for the given session id, unless another handler is already registered.Method parameters in eu.cloudnetservice.driver.network.chunk.defaults with type arguments of type ChunkedPacketHandlerModifier and TypeMethodDescriptionChunkedSessionRegistry.getOrCreateSession(@NonNull ChunkSessionInformation sessionInformation, @NonNull Function<ChunkSessionInformation, ChunkedPacketHandler> sessionFactory) Gets the currently active session or creates a new session using the given instance factory. -
Uses of ChunkedPacketHandler in eu.cloudnetservice.driver.network.chunk.defaults.factory
Classes in eu.cloudnetservice.driver.network.chunk.defaults.factory that implement interfaces with type arguments of type ChunkedPacketHandlerModifier and TypeClassDescriptionfinal classRepresents a factory for chunked packet handlers using theChunkedPacketSessionOpenEventto determine which handler to use for a chunked session.Methods in eu.cloudnetservice.driver.network.chunk.defaults.factory that return ChunkedPacketHandlerModifier and TypeMethodDescriptionEventChunkHandlerFactory.apply(@NonNull ChunkSessionInformation info) Get a new handler for the given session information based on the event call result (and therefore the result a listener of theChunkedPacketSessionOpenEventset). -
Uses of ChunkedPacketHandler in eu.cloudnetservice.driver.network.chunk.network
Fields in eu.cloudnetservice.driver.network.chunk.network with type parameters of type ChunkedPacketHandlerModifier and TypeFieldDescriptionprivate final Function<ChunkSessionInformation, ChunkedPacketHandler> ChunkedPacketListener.handlerFactoryConstructor parameters in eu.cloudnetservice.driver.network.chunk.network with type arguments of type ChunkedPacketHandlerModifierConstructorDescriptionChunkedPacketListener(@NonNull ChunkedSessionRegistry sessionRegistry, @NonNull Function<ChunkSessionInformation, ChunkedPacketHandler> handlerFactory) Creates a new packet listener instance.