Package io.grpc.netty
Class CancelServerStreamCommand
java.lang.Object
io.grpc.netty.WriteQueue.AbstractQueuedCommand
io.grpc.netty.CancelServerStreamCommand
- All Implemented Interfaces:
WriteQueue.QueuedCommand
Command sent from a Netty server stream to the handler to cancel the stream.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final CancelServerStreamCommand.PeerNotifyprivate final Statusprivate final NettyServerStream.TransportState -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateCancelServerStreamCommand(NettyServerStream.TransportState stream, Status reason, CancelServerStreamCommand.PeerNotify peerNotify) -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()(package private) Statusreason()(package private) NettyServerStream.TransportStatestream()toString()(package private) boolean(package private) static CancelServerStreamCommandwithReason(NettyServerStream.TransportState stream, Status reason) (package private) static CancelServerStreamCommandwithReset(NettyServerStream.TransportState stream, Status reason) Methods inherited from class io.grpc.netty.WriteQueue.AbstractQueuedCommand
getLink, promise, promise, run
-
Field Details
-
stream
-
reason
-
peerNotify
-
-
Constructor Details
-
CancelServerStreamCommand
private CancelServerStreamCommand(NettyServerStream.TransportState stream, Status reason, CancelServerStreamCommand.PeerNotify peerNotify)
-
-
Method Details