Home
last modified time | relevance | path

Searched refs:channelOptions (Results 1 – 11 of 11) sorted by relevance

/external/grpc-grpc/src/csharp/Grpc.Core.Tests/
DMockServiceHelper.cs40 readonly IEnumerable<ChannelOption> channelOptions; field in Grpc.Core.Tests.MockServiceHelper
55 …ost = null, Marshaller<string> marshaller = null, IEnumerable<ChannelOption> channelOptions = null) in MockServiceHelper() argument
58 this.channelOptions = channelOptions; in MockServiceHelper()
147 …w Channel(Host, GetServer().Ports.Single().BoundPort, ChannelCredentials.Insecure, channelOptions); in GetChannel()
DUserAgentStringTest.cs71channelOptions: new[] { new ChannelOption(ChannelOptions.PrimaryUserAgentString, "XYZ") }); in ApplicationUserAgentString()
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DNettyChannelBuilder.java68 private final Map<ChannelOption<?>, Object> channelOptions = field in NettyChannelBuilder
152 channelOptions.put(option, value); in withOption()
385 negotiator, channelType, channelOptions, in buildTransportFactory()
487 private final Map<ChannelOption<?>, ?> channelOptions; field in NettyChannelBuilder.NettyTransportFactory
502 Class<? extends Channel> channelType, Map<ChannelOption<?>, ?> channelOptions, in NettyTransportFactory() argument
508 this.channelOptions = new HashMap<ChannelOption<?>, Object>(channelOptions); in NettyTransportFactory()
550 serverAddress, channelType, channelOptions, group, in newClientTransport()
DNettyServer.java73 private final Map<ChannelOption<?>, ?> channelOptions; field in NettyServer
103 Map<ChannelOption<?>, ?> channelOptions, in NettyServer() argument
115 checkNotNull(channelOptions, "channelOptions"); in NettyServer()
116 this.channelOptions = new HashMap<ChannelOption<?>, Object>(channelOptions); in NettyServer()
170 if (channelOptions != null) { in start()
171 for (Map.Entry<ChannelOption<?>, ?> entry : channelOptions.entrySet()) { in start()
DNettyClientTransport.java67 private final Map<ChannelOption<?>, ?> channelOptions; field in NettyClientTransport
99 Map<ChannelOption<?>, ?> channelOptions, EventLoopGroup group, in NettyClientTransport() argument
109 this.channelOptions = Preconditions.checkNotNull(channelOptions, "channelOptions"); in NettyClientTransport()
216 for (Map.Entry<ChannelOption<?>, ?> entry : channelOptions.entrySet()) {
DNettyServerBuilder.java72 private final Map<ChannelOption<?>, Object> channelOptions = field in NettyServerBuilder
139 this.channelOptions.put(option, value); in withChildOption()
433 address, channelType, channelOptions, bossEventLoopGroup, workerEventLoopGroup, in buildTransportServer()
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DNettyServerTest.java122 Map<ChannelOption<?>, Object> channelOptions = new HashMap<ChannelOption<?>, Object>(); in childChannelOptions() local
124 channelOptions.put(ChannelOption.WRITE_BUFFER_WATER_MARK, in childChannelOptions()
136 channelOptions, in childChannelOptions()
DNettyClientTransportTest.java176 Map<ChannelOption<?>, Object> channelOptions = new HashMap<ChannelOption<?>, Object>(); in setSoLingerChannelOption() local
179 channelOptions.put(ChannelOption.SO_LINGER, soLinger); in setSoLingerChannelOption()
181 address, NioSocketChannel.class, channelOptions, group, newNegotiator(), in setSoLingerChannelOption()
/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/
DClientRunners.cs93 var channelOptions = new List<ChannelOption>(); in CreateChannels()
96channelOptions.Add(new ChannelOption(ChannelOptions.SslTargetNameOverride, securityParams.ServerHo… in CreateChannels()
100 channelOptions.Add(channelArgument.ToChannelOption()); in CreateChannels()
107 var channel = new Channel(target, credentials, channelOptions); in CreateChannels()
DServerRunners.cs81 …var channelOptions = new List<ChannelOption>(config.ChannelArgs.Select((arg) => arg.ToChannelOptio… in CreateStarted()
82 var server = new Server(channelOptions) in CreateStarted()
DInteropClient.cs98 List<ChannelOption> channelOptions = null; in Run()
101 channelOptions = new List<ChannelOption> in Run()
106 … var channel = new Channel(options.ServerHost, options.ServerPort, credentials, channelOptions); in Run()