public interface StreamReceiver
Modifier and Type | Method and Description |
---|---|
void |
abort()
Called when something went wrong with a stream session.
|
void |
cleanup()
Called after finished has returned and we've sent any messages to other nodes.
|
void |
discardStream(IncomingStream stream)
This is called when we've received stream data we can't add to the received set for some reason,
usually when we've received data for a session which has been closed.
|
void |
finished()
Called when a stream session has succesfully completed.
|
void |
received(IncomingStream stream)
Called after we've finished receiving stream data.
|
void received(IncomingStream stream)
void discardStream(IncomingStream stream)
void abort()
void finished()
void cleanup()
Copyright © 2009-2021 The Apache Software Foundation