Package io.grpc.internal
Class ServerCallInfoImpl<ReqT,RespT>
java.lang.Object
io.grpc.ServerStreamTracer.ServerCallInfo<ReqT,RespT>
io.grpc.internal.ServerCallInfoImpl<ReqT,RespT>
An implementation of
ServerStreamTracer.ServerCallInfo
.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Attributes
private final String
private final MethodDescriptor
<ReqT, RespT> -
Constructor Summary
ConstructorsConstructorDescriptionServerCallInfoImpl
(MethodDescriptor<ReqT, RespT> methodDescriptor, Attributes attributes, String authority) -
Method Summary
-
Field Details
-
methodDescriptor
-
attributes
-
authority
-
-
Constructor Details
-
ServerCallInfoImpl
ServerCallInfoImpl(MethodDescriptor<ReqT, RespT> methodDescriptor, Attributes attributes, @Nullable String authority)
-
-
Method Details
-
getMethodDescriptor
- Specified by:
getMethodDescriptor
in classServerStreamTracer.ServerCallInfo<ReqT,
RespT>
-
getAttributes
- Specified by:
getAttributes
in classServerStreamTracer.ServerCallInfo<ReqT,
RespT>
-
getAuthority
- Specified by:
getAuthority
in classServerStreamTracer.ServerCallInfo<ReqT,
RespT>
-
equals
-
hashCode
public int hashCode()
-