Uses of Record 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 TypeMethodDescriptionvoidChunkedPacketHandler.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.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
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.handlerFactoryprivate final Map<ChunkSessionInformation,ChunkedPacketHandler> ChunkedPacketListener.runningSessionsMethods in eu.cloudnetservice.driver.network.chunk.network with parameters of type ChunkSessionInformationModifier and TypeMethodDescriptionstatic @NonNull ChunkedPacketChunkedPacket.createChunk(@NonNull ChunkSessionInformation information, int chunkIndex, byte[] data) Creates a new chunk part.static @NonNull ChunkedPacketChunkedPacket.createChunk(@NonNull ChunkSessionInformation information, @Nullable Integer chunkAmount, int chunkIndex, int dataLength, byte[] data) Creates a new chunk part based on the given information.Constructor parameters in eu.cloudnetservice.driver.network.chunk.network with type arguments of type ChunkSessionInformationModifierConstructorDescriptionChunkedPacketListener(@NonNull Function<ChunkSessionInformation, ChunkedPacketHandler> handlerFactory) Creates a new packet listener instance.