Class Port

java.lang.Object
org.nmap4j.data.host.ports.Port

public class Port extends Object
  • Field Details

  • Constructor Details

    • Port

      public Port()
  • Method Details

    • getProtocol

      public String getProtocol()
    • setProtocol

      public void setProtocol(String protocol)
    • getPortId

      public long getPortId()
    • setPortId

      public void setPortId(long portId)
    • getState

      public State getState()
    • setState

      public void setState(State state)
    • getService

      public Service getService()
    • setService

      public void setService(Service service)
    • toString

      public String toString()
      Overrides:
      toString in class Object