Uses of Class
eu.cloudnetservice.driver.network.chunk.data.ChunkSessionInformation
Packages that use ChunkSessionInformation
Package
Description
-
Uses of ChunkSessionInformation in eu.cloudnetservice.driver.event.events.chunk
Fields in eu.cloudnetservice.driver.event.events.chunk declared as ChunkSessionInformationModifier and TypeFieldDescriptionprivate final ChunkSessionInformationChunkedPacketSessionOpenEvent.sessionInformationMethods in eu.cloudnetservice.driver.event.events.chunk that return ChunkSessionInformationModifier and TypeMethodDescriptionChunkedPacketSessionOpenEvent.session()Get the session information about the chunked transfer that was requested.Constructors in eu.cloudnetservice.driver.event.events.chunk with parameters of type ChunkSessionInformationModifierConstructorDescriptionChunkedPacketSessionOpenEvent(@NonNull ChunkSessionInformation sessionInformation) Constructs a new chunked packet session open event with the given session information as the reason for it to get fired. -
Uses of ChunkSessionInformation in eu.cloudnetservice.driver.network.chunk
Methods in eu.cloudnetservice.driver.network.chunk that return ChunkSessionInformationModifier and TypeMethodDescriptionChunkedPacketProvider.sessionInformation()Get the session information which is associated with this provider.Methods in eu.cloudnetservice.driver.network.chunk with parameters of type ChunkSessionInformationModifier and TypeMethodDescriptionbooleanChunkedPacketHandler.Callback.handleSessionComplete(@NonNull ChunkSessionInformation information, @NonNull InputStream dataInput) Handles the completion and therefore full receive of the data transferred by the other component. -
Uses of ChunkSessionInformation in eu.cloudnetservice.driver.network.chunk.defaults
Fields in eu.cloudnetservice.driver.network.chunk.defaults declared as ChunkSessionInformationModifier and TypeFieldDescriptionprotected final ChunkSessionInformationDefaultChunkedPacketProvider.chunkSessionInformationMethods in eu.cloudnetservice.driver.network.chunk.defaults that return ChunkSessionInformationModifier and TypeMethodDescriptionDefaultChunkedPacketProvider.sessionInformation()Get the session information which is associated with this provider.Methods in eu.cloudnetservice.driver.network.chunk.defaults with parameters of type ChunkSessionInformationModifier 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.Method parameters in eu.cloudnetservice.driver.network.chunk.defaults with type arguments of type ChunkSessionInformationModifier 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.Constructors in eu.cloudnetservice.driver.network.chunk.defaults with parameters of type ChunkSessionInformationModifierConstructorDescriptionprotectedDefaultChunkedPacketProvider(@NonNull ChunkSessionInformation sessionInformation) Creates a new instance of this class.DefaultFileChunkedPacketHandler(@NonNull ChunkSessionInformation sessionInformation, @Nullable ChunkedPacketHandler.Callback completeHandler) Creates the session handler initially.DefaultFileChunkedPacketHandler(@NonNull ChunkSessionInformation sessionInformation, @Nullable ChunkedPacketHandler.Callback completeHandler, @NonNull Path tempFilePath) Creates the session handler initially.DefaultFileChunkPacketSender(@NonNull ChunkSessionInformation sessionInformation, @NonNull InputStream source, @NonNull Consumer<Packet> packetSplitter) Constructs a new chunked packet sender for file transfer. -
Uses of ChunkSessionInformation 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 ChunkSessionInformationModifier 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 with parameters of type ChunkSessionInformationModifier 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 ChunkSessionInformation in eu.cloudnetservice.driver.network.chunk.network
Fields in eu.cloudnetservice.driver.network.chunk.network with type parameters of type ChunkSessionInformationModifier and TypeFieldDescriptionprivate final Function<ChunkSessionInformation, ChunkedPacketHandler> ChunkedPacketListener.handlerFactoryMethods in eu.cloudnetservice.driver.network.chunk.network with parameters of type ChunkSessionInformationModifier and TypeMethodDescriptionstatic @NonNull ChunkedPacketChunkedPacket.createFinalChunk(int chunkIndex, int readBytes, byte[] sourceData, @NonNull ChunkSessionInformation sessionInfo) Creates a new final chunk which must be sent to terminate a chunked data transfer on the remote side.static @NonNull ChunkedPacketChunkedPacket.createFullChunk(int chunkIndex, byte[] sourceData, @NonNull ChunkSessionInformation sessionInfo) Creates a new full chunk in the middle of a transfer.Constructor parameters in eu.cloudnetservice.driver.network.chunk.network with type arguments of type ChunkSessionInformationModifierConstructorDescriptionChunkedPacketListener(@NonNull ChunkedSessionRegistry sessionRegistry, @NonNull Function<ChunkSessionInformation, ChunkedPacketHandler> handlerFactory) Creates a new packet listener instance.