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.QueuedCommandSimple wrapper type around a command and its optional completion listener.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description io.perfmark.LinkgetLink()io.netty.channel.ChannelPromisepromise()Returns the promise beeing notified of the success/failure of the write.voidpromise(io.netty.channel.ChannelPromise promise)Sets the promise.voidrun(io.netty.channel.Channel channel)
-
-
-
Method Detail
-
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()
-
-