当前位置: 首页 > 文档资料 > gRPC 学习笔记 >

类ManagedChannelImpl - Transport

优质
小牛编辑
130浏览
2023-12-01
  1. private static final ClientTransport SHUTDOWN_TRANSPORT =
  2. new FailingClientTransport(Status.UNAVAILABLE.withDescription("Channel is shutdown"));
  3. static final ClientTransport IDLE_MODE_TRANSPORT =
  4. new FailingClientTransport(Status.INTERNAL.withDescription("Channel is in idle mode"));
  5. private final ClientTransportFactory transportFactory;