Interface Link

All Known Subinterfaces:
Pipe, Session<R>

public interface Link
Represents an established connection between two endpoints.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns 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.