AbstractQuicStream should
implement QuicSenderStream (unidirectional StreamMode#WRITE_ONLY stream), or QuicReceiverStream
(unidirectional StreamMode#READ_ONLY stream), or
both (bidirectional StreamMode#READ_WRITE stream).
| Modifier and Type | Field and Description |
|---|---|
| private final QuicConnectionImpl | |
| private final QuicStream. | |
| private final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv final QuicConnectionImpl | Returns: theQuicConnectionImpl instance this stream
belongs toReturns the |
| public final boolean | isBidirectional()
Implements jdk. Returns whether this stream is bidirectional. |
| public final boolean | isClientInitiated()
Implements jdk. Returns whether this stream is client initiated. |
| public abstract boolean | Returns: true if this stream isn't expecting anything from the peer and can be removed from the streams mapReturns true if this stream isn't expecting anything from the peer and can be removed from the streams map. |
| public final boolean | isLocalInitiated()
Implements jdk. Returns true if this stream is local initiated. |
| public final boolean | isRemoteInitiated()
Implements jdk. Returns true if this stream is remote initiated. |
| public final boolean | isServerInitiated()
Implements jdk. Returns whether this stream is server initiated. |
| private static QuicStream. | |
| public final QuicStream. | mode()
Implements jdk. Returns this stream operation mode. |
| public final long | streamId()
Implements jdk. Returns the stream ID of this stream. |
| public final int | type()
Implements jdk. The type of this stream, as an int. |
| connection | back to summary |
|---|---|
| private final QuicConnectionImpl connection | |
| mode | back to summary |
|---|---|
| private final QuicStream. | |
| streamId | back to summary |
|---|---|
| private final long streamId | |
| AbstractQuicStream | back to summary |
|---|---|
| pack-priv AbstractQuicStream(QuicConnectionImpl connection, long streamId) | |
| connection | back to summary |
|---|---|
| pack-priv final QuicConnectionImpl connection() Returns the
| |
| isBidirectional | back to summary |
|---|---|
| public final boolean isBidirectional() Implements jdk. Doc from jdk. Returns whether this stream is bidirectional.
| |
| isClientInitiated | back to summary |
|---|---|
| public final boolean isClientInitiated() Implements jdk. Doc from jdk. Returns whether this stream is client initiated.
| |
| isDone | back to summary |
|---|---|
| public abstract boolean isDone() Returns true if this stream isn't expecting anything from the peer and can be removed from the streams map.
| |
| isLocalInitiated | back to summary |
|---|---|
| public final boolean isLocalInitiated() Implements jdk. Doc from jdk. Returns true if this stream is local initiated.
| |
| isRemoteInitiated | back to summary |
|---|---|
| public final boolean isRemoteInitiated() Implements jdk. Doc from jdk. Returns true if this stream is remote initiated.
| |
| isServerInitiated | back to summary |
|---|---|
| public final boolean isServerInitiated() Implements jdk. Doc from jdk. Returns whether this stream is server initiated.
| |
| mode | back to summary |
|---|---|
| private static QuicStream. | |
| mode | back to summary |
|---|---|
| public final QuicStream. Implements jdk. Doc from jdk. Returns this stream operation mode.
One of
| |
| streamId | back to summary |
|---|---|
| public final long streamId() Implements jdk. Doc from jdk. Returns the stream ID of this stream.
| |
| type | back to summary |
|---|---|
| public final int type() Implements jdk. Doc from jdk. The type of this stream, as an int. This is a number between 0 and 3 inclusive, and corresponds to the last two lowest bits of the stream ID.
| |