Interface Router

    • Method Detail

      • getInterfaces

        List<NetworkInterface> getInterfaces()
        Returns physical network interfaces of router.
        Returns:
        list of connected interfaces
      • isCorner

        Boolean isCorner()
        Returns if this router is last step to internet in current LAN.
        Returns:
        true if router is on border, false otherwise