Package io.grpc.netty
Class CancelClientStreamCommand
java.lang.Object
io.grpc.netty.WriteQueue.AbstractQueuedCommand
io.grpc.netty.CancelClientStreamCommand
- All Implemented Interfaces:
WriteQueue.QueuedCommand
Command sent from a Netty client stream to the handler to cancel the stream.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Status
private final NettyClientStream.TransportState
-
Constructor Summary
ConstructorsConstructorDescriptionCancelClientStreamCommand
(NettyClientStream.TransportState stream, Status reason) -
Method Summary
Modifier and TypeMethodDescription(package private) Status
reason()
(package private) NettyClientStream.TransportState
stream()
Methods inherited from class io.grpc.netty.WriteQueue.AbstractQueuedCommand
getLink, promise, promise, run
-
Field Details
-
stream
-
reason
-
-
Constructor Details
-
CancelClientStreamCommand
CancelClientStreamCommand(NettyClientStream.TransportState stream, Status reason)
-
-
Method Details
-
stream
NettyClientStream.TransportState stream() -
reason
-