Package io.grpc.netty
Class NettySocketSupport.NativeSocketOptions
- java.lang.Object
-
- io.grpc.netty.NettySocketSupport.NativeSocketOptions
-
- Direct Known Subclasses:
InternalNettySocketSupport.InternalNativeSocketOptions
- Enclosing class:
- NettySocketSupport
public static class NettySocketSupport.NativeSocketOptions extends java.lang.Object
A TcpInfo and additional other info that will be turned into channelz socket options.
-
-
Field Summary
Fields Modifier and Type Field Description com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String>
otherInfo
InternalChannelz.TcpInfo
tcpInfo
-
Constructor Summary
Constructors Constructor Description NativeSocketOptions(InternalChannelz.TcpInfo tcpInfo, java.util.Map<java.lang.String,java.lang.String> otherInfo)
Creates an instance.
-
-
-
Field Detail
-
tcpInfo
@Nullable public final InternalChannelz.TcpInfo tcpInfo
-
otherInfo
public final com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> otherInfo
-
-
Constructor Detail
-
NativeSocketOptions
public NativeSocketOptions(InternalChannelz.TcpInfo tcpInfo, java.util.Map<java.lang.String,java.lang.String> otherInfo)
Creates an instance.
-
-