Interface ChunkedPacketHandler.Callback
- Enclosing interface:
- ChunkedPacketHandler
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A callback called once the full data of the chunk session was received successfully.
- Since:
- 4.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidhandleSessionComplete(@NonNull ChunkSessionInformation information, @NonNull InputStream dataInput) Handles the completion and therefore full receive of the data transferred by the other component.
-
Method Details
-
handleSessionComplete
void handleSessionComplete(@NonNull @NonNull ChunkSessionInformation information, @NonNull @NonNull InputStream dataInput) throws IOException Handles the completion and therefore full receive of the data transferred by the other component.- Parameters:
information- the information about the chunk session which were sent initially.dataInput- the stream of data sent to this component in this chunked session.- Throws:
IOException- in case an i/o exception happens during result handling.
-