Class NetworkInterface
java.lang.Object
org.eblocker.server.common.network.NetworkInterface
Proxy for
NetworkInterface.
This class is not final so it can be mocked in unit-tests.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]intgetMTU()getName()java.util.stream.Stream<InetAddress>booleanisUp()java.util.stream.Stream<NetworkInterface>
-
Constructor Details
-
NetworkInterface
-
-
Method Details
-
inetAddresses
-
subInterfaces
-
getInterfaceAddresses
-
getHardwareAddress
- Throws:
SocketException
-
getName
-
isUp
- Throws:
SocketException
-
getMTU
- Throws:
SocketException
-