Package io.grpc.netty

Class WriteQueue.AbstractQueuedCommand

java.lang.Object
io.grpc.netty.WriteQueue.AbstractQueuedCommand
All Implemented Interfaces:
WriteQueue.QueuedCommand
Direct Known Subclasses:
CancelClientStreamCommand, CancelServerStreamCommand, CreateStreamCommand, ForcefulCloseCommand, GracefulCloseCommand, GracefulServerCloseCommand, SendPingCommand, SendResponseHeadersCommand
Enclosing class:
WriteQueue

abstract static class WriteQueue.AbstractQueuedCommand extends Object implements WriteQueue.QueuedCommand
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final io.perfmark.Link
     
    private io.netty.channel.ChannelPromise
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.perfmark.Link
     
    final io.netty.channel.ChannelPromise
    Returns the promise beeing notified of the success/failure of the write.
    final void
    promise(io.netty.channel.ChannelPromise promise)
    Sets the promise.
    final void
    run(io.netty.channel.Channel channel)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • promise

      private io.netty.channel.ChannelPromise promise
  • Constructor Details

    • AbstractQueuedCommand

      AbstractQueuedCommand()
  • Method Details