Interface StreamEvent

All Known Implementing Classes:
StreamEvent.Available, StreamEvent.Finished, StreamEvent.Opened, StreamEvent.Readable, StreamEvent.Stopped, StreamEvent.Writable

Application events about streams, polled from StreamsState.poll(). They are hints: the blocking stream layer wakes the matching readers and writers, which then retry.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final record 
    The peer raised the stream limit, so at least one more stream of this directionality may be opened.
    static final record 
    A finished stream's data, FIN included, has all been acknowledged.
    static final record 
    The peer opened one or more streams, which StreamsState.accept(Dir) now returns.
    static final record 
    A stream probably has data, its end or a reset waiting to be read.
    static final record 
    The peer sent STOP_SENDING: it no longer wants the stream's data.
    static final record 
    A stream that could not take more data might take some now, or was stopped.