/external/grpc-grpc/src/csharp/Grpc.Core.Tests/ |
D | MockServiceHelper.cs | 40 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()
|
D | UserAgentStringTest.cs | 71 … channelOptions: new[] { new ChannelOption(ChannelOptions.PrimaryUserAgentString, "XYZ") }); in ApplicationUserAgentString()
|
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/ |
D | NettyChannelBuilder.java | 68 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()
|
D | NettyServer.java | 73 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()
|
D | NettyClientTransport.java | 67 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()) {
|
D | NettyServerBuilder.java | 72 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/ |
D | NettyServerTest.java | 122 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()
|
D | NettyClientTransportTest.java | 176 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/ |
D | ClientRunners.cs | 93 var channelOptions = new List<ChannelOption>(); in CreateChannels() 96 …channelOptions.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()
|
D | ServerRunners.cs | 81 …var channelOptions = new List<ChannelOption>(config.ChannelArgs.Select((arg) => arg.ToChannelOptio… in CreateStarted() 82 var server = new Server(channelOptions) in CreateStarted()
|
D | InteropClient.cs | 98 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()
|