Class Route

java.lang.Object
org.netxms.client.topology.Route

public class Route extends Object
IP route
  • Constructor Details

    • Route

      public Route(NXCPMessage msg, long baseId)
      Create route object from NXCP message
      Parameters:
      msg - NXCP message
      baseId - object base id
  • Method Details

    • getDestination

      public InetAddressEx getDestination()
      Returns:
      the destination
    • getNextHop

      public InetAddress getNextHop()
      Returns:
      the nextHop
    • getIfIndex

      public int getIfIndex()
      Returns:
      the ifIndex
    • getIfName

      public String getIfName()
      Get interface name.
      Returns:
      interface name
    • getType

      public int getType()
      Returns:
      the type
    • getMetric

      public int getMetric()
      Returns:
      the metric
    • getProtocol

      public RoutingProtocol getProtocol()
      Returns:
      the protocol
    • toString

      public String toString()
      Overrides:
      toString in class Object
      See Also: