Class Route


  • public class Route
    extends Object
    Used for represent route record in routing tables.
    • Constructor Detail

      • Route

        public Route()
    • Method Detail

      • setDest

        public void setDest​(TopologyNetwork dest)
        Sets dest.
        Parameters:
        dest - the dest
      • getSource

        public TopologyNetwork getSource()
        Gets source.
        Returns:
        the source
      • setSource

        public void setSource​(TopologyNetwork source)
        Sets source.
        Parameters:
        source - the source
      • getrNetworkInterface

        public NetworkInterface getrNetworkInterface()
        Gets network interface.
        Returns:
        the network interface
      • setrNetworkInterface

        public void setrNetworkInterface​(NetworkInterface rNetworkInterface)
        Sets network interface.
        Parameters:
        rNetworkInterface - the r network interface
      • getTargetRouter

        public Router getTargetRouter()
        Gets target router.
        Returns:
        the target router
      • setTargetRouter

        public void setTargetRouter​(Router targetRouter)
        Sets target router.
        Parameters:
        targetRouter - the target router
      • toAPIFormat

        public String toAPIFormat()
        To path string.
        Returns:
        the string