Package io.grpc.netty
Class CancelClientStreamCommand
- java.lang.Object
-
- io.grpc.netty.WriteQueue.AbstractQueuedCommand
-
- io.grpc.netty.CancelClientStreamCommand
-
- All Implemented Interfaces:
WriteQueue.QueuedCommand
class CancelClientStreamCommand extends WriteQueue.AbstractQueuedCommand
Command sent from a Netty client stream to the handler to cancel the stream.
-
-
Field Summary
Fields Modifier and Type Field Description private Statusreasonprivate NettyClientStream.TransportStatestream
-
Constructor Summary
Constructors Constructor Description CancelClientStreamCommand(NettyClientStream.TransportState stream, Status reason)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) Statusreason()(package private) NettyClientStream.TransportStatestream()-
Methods inherited from class io.grpc.netty.WriteQueue.AbstractQueuedCommand
getLink, promise, promise, run
-
-
-
-
Field Detail
-
stream
private final NettyClientStream.TransportState stream
-
reason
@Nullable private final Status reason
-
-
Constructor Detail
-
CancelClientStreamCommand
CancelClientStreamCommand(NettyClientStream.TransportState stream, Status reason)
-
-
Method Detail
-
stream
NettyClientStream.TransportState stream()
-
reason
@Nullable Status reason()
-
-