Module swim.io
Package swim.io

Interface ServiceRef

  • All Known Subinterfaces:
    ServiceContext

    public interface ServiceRef
    External handle to a network Service listener.
    • Method Detail

      • localAddress

        InetSocketAddress localAddress()
        Returns the IP address and port to which the underlying network listener is bound. Returns null if the underlying network listener is not currently bound.
      • unbind

        void unbind()
        Unbinds the underlying network listener.