Module swim.io
Package swim.io

Interface IpServiceRef

All Known Subinterfaces:
IpServiceContext

public interface IpServiceRef
External handle to a network IpService listener.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the IP address and port to which the underlying network listener is bound.
    void
    Unbinds the underlying network listener.
  • Method Details

    • 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.