Package brave.rpc
Class RpcClientResponse
- java.lang.Object
-
- brave.Response
-
- brave.rpc.RpcResponse
-
- brave.rpc.RpcClientResponse
-
public abstract class RpcClientResponse extends RpcResponse
Marks an interface for use inRpcClientHandler.handleReceive(RpcClientResponse, Span)
. This gives a standard type to consider when parsing an incoming context.- Since:
- 5.10
- See Also:
RpcClientRequest
-
-
Constructor Summary
Constructors Constructor Description RpcClientResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
parseRemoteIpAndPort(Span span)
LikeRpcRequest.parseRemoteIpAndPort(Span)
for when the client library cannot read socket information before a request is made.Span.Kind
spanKind()
-
Methods inherited from class brave.rpc.RpcResponse
errorCode, finishTimestamp, request
-
-
-
-
Method Detail
-
parseRemoteIpAndPort
public boolean parseRemoteIpAndPort(Span span)
LikeRpcRequest.parseRemoteIpAndPort(Span)
for when the client library cannot read socket information before a request is made.To reduce overhead, only implement this when not implementing
RpcRequest.parseRemoteIpAndPort(Span)
.- Since:
- 5.10
-
-