Interface Port


@Contract public interface Port
Port abstraction, used to bind several containers to the same port.
Author:
Jerome Dochez
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Unbinds (close) this port instance, releasing network resources at portNumber
    int
    Returns the port number occupied by this instance.
  • Field Details

  • Method Details

    • getPortNumber

      int getPortNumber()
      Returns the port number occupied by this instance.
      Returns:
      port number
    • close

      void close()
      Unbinds (close) this port instance, releasing network resources at portNumber