Package io.grpc.netty
Interface WriteQueue.QueuedCommand
- All Known Implementing Classes:
CancelClientStreamCommand
,CancelServerStreamCommand
,CreateStreamCommand
,ForcefulCloseCommand
,GracefulCloseCommand
,GracefulServerCloseCommand
,SendGrpcFrameCommand
,SendPingCommand
,SendResponseHeadersCommand
,WriteQueue.AbstractQueuedCommand
,WriteQueue.RunnableCommand
- Enclosing class:
WriteQueue
static interface WriteQueue.QueuedCommand
Simple wrapper type around a command and its optional completion listener.
-
Method Summary
-
Method Details
-
promise
io.netty.channel.ChannelPromise promise()Returns the promise beeing notified of the success/failure of the write. -
promise
void promise(io.netty.channel.ChannelPromise promise) Sets the promise. -
run
void run(io.netty.channel.Channel channel) -
getLink
io.perfmark.Link getLink()
-