Interface Link
public interface Link
Represents an established connection between two endpoints.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the local link address, or null if unknown or not applicable.Returns the remote link address, or null if unknown or not applicable.
-
Method Details
-
localAddress
SocketAddress localAddress()Returns the local link address, or null if unknown or not applicable. -
remoteAddress
SocketAddress remoteAddress()Returns the remote link address, or null if unknown or not applicable.
-