Interface NetServerAttributesGetter<REQUEST>
- All Known Implementing Classes:
InetSocketAddressNetServerAttributesGetter
public interface NetServerAttributesGetter<REQUEST>
An interface for getting server-based network attributes. It adapts an instrumentation-specific
request type into the 3 common attributes (transport, sockPeerPort, sockPeerAddr).
Instrumentation authors will create implementations of this interface for their specific
server library/framework. It will be used by the NetServerAttributesExtractor to obtain
the various network attributes in a type-generic way.
-
Method Summary
Modifier and TypeMethodDescriptiondefault StringsockFamily(REQUEST request) default StringsockHostAddr(REQUEST request) default IntegersockHostPort(REQUEST request) default StringsockPeerAddr(REQUEST request) default IntegersockPeerPort(REQUEST request)
-
Method Details
-
transport
-
hostName
-
hostPort
-
sockFamily
-
sockPeerAddr
-
sockPeerPort
-
sockHostAddr
-
sockHostPort
-