Interface NetClientAttributesGetter<REQUEST,RESPONSE>
-
- All Known Implementing Classes:
InetSocketAddressNetClientAttributesGetter
public interface NetClientAttributesGetter<REQUEST,RESPONSE>An interface for getting client-based network attributes. It adapts from a type-specific request and response into the 4 common network attribute values.Instrumentation authors will create implementations of this interface for their specific library/framework. It will be used by the NetClientAttributesExtractor to obtain the various network attributes in a type-generic way.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringpeerIp(REQUEST request, RESPONSE response)StringpeerName(REQUEST request, RESPONSE response)IntegerpeerPort(REQUEST request, RESPONSE response)Stringtransport(REQUEST request, RESPONSE response)
-