ctpcongestion.nc

来自「tinyos-2.x.rar」· NC 代码 · 共 16 行

NC
16
字号
interface CtpCongestion {

    /* Returns the current state of congestion from the provider. Ctp may be
     * congested because its internal queue is congested or because the receive
     * client called isCongested with TRUE. */

    command bool isCongested();

    /* Idempotent call to let the provider know whether a client is congested.
     * If not previously congested, Ctp will take measures to slow down.
     * Ctp has an internal congested condition as well. The result of isCongested
     * is a logical OR with the parameter set here and the internal congestion.
     */
    command void setClientCongested(bool congested);
}

⌨️ 快捷键说明

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