Package io.grpc.netty

Class CreateStreamCommand

All Implemented Interfaces:
WriteQueue.QueuedCommand

class CreateStreamCommand extends WriteQueue.AbstractQueuedCommand
A command to create a new stream. This is created by NettyClientStream and passed to the NettyClientHandler for processing in the Channel thread.
  • Field Details

    • headers

      private final io.netty.handler.codec.http2.Http2Headers headers
    • stream

      private final NettyClientStream.TransportState stream
    • shouldBeCountedForInUse

      private final boolean shouldBeCountedForInUse
    • get

      private final boolean get
  • Constructor Details

    • CreateStreamCommand

      CreateStreamCommand(io.netty.handler.codec.http2.Http2Headers headers, NettyClientStream.TransportState stream, boolean shouldBeCountedForInUse, boolean get)
  • Method Details

    • stream

    • headers

      io.netty.handler.codec.http2.Http2Headers headers()
    • shouldBeCountedForInUse

      boolean shouldBeCountedForInUse()
    • isGet

      boolean isGet()