TaggingSocketFactory
SocketFactory to tag sockets per TrafficStats.
All created sockets will be tagged with the current thread id, and if running on an SDK >= P, with the process UID.
Properties
Link copied to clipboard
Link copied to clipboard
Base SocketFactory to which all creation requests are delegated.
Functions
Link copied to clipboard
public <Error class: unknown class> createSocket(InetAddress address, Integer port, InetAddress localAddress, Integer localPort)
public <Error class: unknown class> createSocket(String host, Integer port, InetAddress localHost, Integer localPort)
Link copied to clipboard
Base SocketFactory to which all creation requests are delegated.