Skip to content

Commit 709cbbb

Browse files
Javadocs for org.opensearch.transport.grpc.ssl + Netty4GrpcServerTransport.
Signed-off-by: Finn Carroll <[email protected]>
1 parent 0ac61ba commit 709cbbb

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

plugins/transport-grpc/src/main/java/org/opensearch/transport/grpc/Netty4GrpcServerTransport.java

+11
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,14 @@ public class Netty4GrpcServerTransport extends NetworkPlugin.AuxTransport {
115115
Setting.Property.NodeScope
116116
);
117117

118+
/**
119+
* Port range on which servers bind.
120+
*/
118121
protected PortsRange port;
122+
123+
/**
124+
* Settings.
125+
*/
119126
protected final Settings settings;
120127

121128
private final NetworkService networkService;
@@ -160,6 +167,10 @@ public BoundTransportAddress getBoundAddress() {
160167
return this.boundAddress;
161168
}
162169

170+
/**
171+
* Inject a NettyServerBuilder configuration to be applied at server bind and start.
172+
* @param configModifier builder configuration to set.
173+
*/
163174
protected void addServerConfig(UnaryOperator<NettyServerBuilder> configModifier) {
164175
serverBuilderConfigs.add(configModifier);
165176
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
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;

0 commit comments

Comments
 (0)