Class Route


  • public class Route
    extends Object
    IP route
    • Constructor Detail

      • Route

        public Route​(org.netxms.base.NXCPMessage msg,
                     long baseId)
        Create route object from NXCP message
        Parameters:
        msg - NXCP message
        baseId - object base id
    • Method Detail

      • getDestination

        public InetAddress getDestination()
        Returns:
        the destination
      • getPrefixLength

        public int getPrefixLength()
        Returns:
        the prefixLength
      • getNextHop

        public InetAddress getNextHop()
        Returns:
        the nextHop
      • getIfIndex

        public int getIfIndex()
        Returns:
        the ifIndex
      • getType

        public int getType()
        Returns:
        the type
      • getIfName

        public String getIfName()
        Returns:
        the ifName