Package io.grpc.internal
Class GrpcAttributes
- java.lang.Object
-
- io.grpc.internal.GrpcAttributes
-
public final class GrpcAttributes extends java.lang.ObjectSpecial attributes that are only useful to gRPC.
-
-
Field Summary
Fields Modifier and Type Field Description static Attributes.Key<Attributes>ATTR_CLIENT_EAG_ATTRSAttribute key for the attributes of theEquivalentAddressGroup(EquivalentAddressGroup.getAttributes()) that the transport's server address is from.static Attributes.Key<SecurityLevel>ATTR_SECURITY_LEVELThe security level of the transport.
-
Constructor Summary
Constructors Modifier Constructor Description privateGrpcAttributes()
-
-
-
Field Detail
-
ATTR_SECURITY_LEVEL
@TransportAttr public static final Attributes.Key<SecurityLevel> ATTR_SECURITY_LEVEL
The security level of the transport. If it's not present,SecurityLevel.NONEshould be assumed.
-
ATTR_CLIENT_EAG_ATTRS
@TransportAttr public static final Attributes.Key<Attributes> ATTR_CLIENT_EAG_ATTRS
Attribute key for the attributes of theEquivalentAddressGroup(EquivalentAddressGroup.getAttributes()) that the transport's server address is from. This is a client-side-only transport attribute, and available right after the transport is started.
-
-