Searched refs:channelBuilder (Results 1 – 7 of 7) sorted by relevance
43 ManagedChannelBuilder<?> channelBuilder = ManagedChannelBuilder.forAddress(host, port) in build() local47 channelBuilder.overrideAuthority(serverHostOverride); in build()51 ((OkHttpChannelBuilder) channelBuilder).useTransportSecurity(); in build()52 ((OkHttpChannelBuilder) channelBuilder).sslSocketFactory(getSslSocketFactory(testCa)); in build()57 channelBuilder.usePlaintext(); in build()59 return channelBuilder.build(); in build()
135 InProcessChannelBuilder channelBuilder = InProcessChannelBuilder.forName(serverName); in before() local138 channelBuilder.directExecutor(); in before()141 channel = channelBuilder.build(); in before()
196 NettyChannelBuilder channelBuilder; in setup() local201 channelBuilder = NettyChannelBuilder.forAddress(address); in setup()202 channelBuilder.channelType(LocalChannel.class); in setup()210 channelBuilder = NettyChannelBuilder.forAddress(address); in setup()217 channelBuilder.directExecutor(); in setup()226 channelBuilder.flowControlWindow(windowSize.bytes()); in setup()228 channelBuilder.negotiationType(NegotiationType.PLAINTEXT); in setup()380 channels[i] = channelBuilder in setup()
206 private ChannelBuilder channelBuilder; field in ManagedChannelImplTest223 channelBuilder, mockTransportFactory, new FakeBackoffPolicyProvider(), in createChannel()232 if (channelBuilder.idleTimeoutMillis != ManagedChannelImpl.IDLE_TIMEOUT_MILLIS_DISABLE) { in createChannel()259 channelBuilder = new ChannelBuilder() in setUp()264 channelBuilder.executorPool = executorPool; in setUp()265 channelBuilder.binlog = null; in setUp()266 channelBuilder.channelz = channelz; in setUp()286 channelBuilder.nameResolverFactory( in idleModeDisabled()313 channelBuilder.nameResolverFactory( in shutdownWithNoTransportsEverCreated()427 channelBuilder.nameResolverFactory(nameResolverFactory); in subtestCallsAndShutdown()[all …]
36 NettyChannelBuilder channelBuilder, OverrideAuthorityChecker authorityChecker) { in overrideAuthorityChecker() argument37 channelBuilder.overrideAuthorityChecker(authorityChecker); in overrideAuthorityChecker()
56 public RouteGuideClient(ManagedChannelBuilder<?> channelBuilder) { in RouteGuideClient() argument57 channel = channelBuilder.build(); in RouteGuideClient()
344 Channel.Builder channelBuilder = Channel in toChannel() local349 channelBuilder.addSubchannelRef(toSubchannelRef(subchannel)); in toChannel()352 return channelBuilder.build(); in toChannel()