⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 link.java.svn-base

📁 网络模拟器
💻 SVN-BASE
字号:
package jns.element;


public abstract class Link extends Element
{


    /**
     Set the status of this link, either 'up' or 'down'. Use the integer
     constants provided in jns.util.Status.
     @param status the new status of the link
     */
    public abstract void setStatus(int status);

    /**
     Return the status of this link, either 'up' or 'down'. Returns one of
     the constans provided in jns.util.Status.
     @return Status.UP or Status.DOWN.
     */
    public abstract int getStatus();

    /**
     Return the bandwidth of this link in bits per second (bps);
     */
    public abstract int getBandwidth();

    /**
     Return the delay of this link in seconds (This will normally be a
     fraction though).
     */
    public abstract double getDelay();

    public abstract Interface getIncomingInterface();

    public abstract Interface getOutgoingInterface();
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -