public interface Notifiable
Connection
that can be notified of
stream events.Modifier and Type | Method and Description |
---|---|
void |
onEndReached()
To be called when the end of the stream is reached.
|
void |
onError()
To be called when there is an error when handling the stream.
|
void onEndReached()
Connection.setInboundBusy(boolean)
) .void onError()
onEndReached()
and set the state of the connection to
ConnectionState.CLOSING
in
order to release this stream.Copyright © 2005-2012. All Rights Reserved.