File tree 2 files changed +23
-0
lines changed
plugins/transport-grpc/src/main/java/org/opensearch/transport/grpc
2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,14 @@ public class Netty4GrpcServerTransport extends NetworkPlugin.AuxTransport {
115
115
Setting .Property .NodeScope
116
116
);
117
117
118
+ /**
119
+ * Port range on which servers bind.
120
+ */
118
121
protected PortsRange port ;
122
+
123
+ /**
124
+ * Settings.
125
+ */
119
126
protected final Settings settings ;
120
127
121
128
private final NetworkService networkService ;
@@ -160,6 +167,10 @@ public BoundTransportAddress getBoundAddress() {
160
167
return this .boundAddress ;
161
168
}
162
169
170
+ /**
171
+ * Inject a NettyServerBuilder configuration to be applied at server bind and start.
172
+ * @param configModifier builder configuration to set.
173
+ */
163
174
protected void addServerConfig (UnaryOperator <NettyServerBuilder > configModifier ) {
164
175
serverBuilderConfigs .add (configModifier );
165
176
}
Original file line number Diff line number Diff line change
1
+ /*
2
+ * SPDX-License-Identifier: Apache-2.0
3
+ *
4
+ * The OpenSearch Contributors require contributions made to
5
+ * this file be licensed under the Apache-2.0 license or a
6
+ * compatible open source license.
7
+ */
8
+
9
+ /**
10
+ * gRPC transport for OpenSearch implementing TLS.
11
+ */
12
+ package org .opensearch .transport .grpc .ssl ;
You can’t perform that action at this time.
0 commit comments