Class Trace

java.lang.Object
org.nmap4j.data.host.trace.Trace

public class Trace extends Object
This class catches tracerout result if was enabled on scan command
  • Field Details

  • Constructor Details

    • Trace

      public Trace()
  • Method Details

    • getPort

      public long getPort()
    • setPort

      public void setPort(long port)
    • getProtocol

      public String getProtocol()
    • setProtocol

      public void setProtocol(String protocol)
    • getHops

      public ArrayList<Hop> getHops()
    • setHops

      public void setHops(ArrayList<Hop> hops)
    • addHop

      public void addHop(Hop p)
    • remove

      public void remove(Hop p)
    • toString

      public String toString()
      Overrides:
      toString in class Object