jadex.commons.future.Future.sendForwardCommand()方法的使用及代码示例

x33g5p2x  于2022-01-19 转载在 其他  
字(1.4k)|赞(0)|评价(0)|浏览(149)

本文整理了Java中jadex.commons.future.Future.sendForwardCommand()方法的一些代码示例,展示了Future.sendForwardCommand()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Future.sendForwardCommand()方法的具体详情如下:
包路径:jadex.commons.future.Future
类名称:Future
方法名:sendForwardCommand

Future.sendForwardCommand介绍

[英]Send a (forward) command to the listeners.
[中]向侦听器发送(转发)命令。

代码示例

代码示例来源:origin: org.activecomponents.jadex/jadex-commons-gui

/**
 *  Called when a command is available.
 */
public void	customCommandAvailable(Object command)
{
  future.sendForwardCommand(command);
}

代码示例来源:origin: org.activecomponents.jadex/jadex-commons-gui

/**
 *  Called when a command is available.
 */
public void	customCommandAvailable(Object command)
{
  future.sendForwardCommand(command);
}

代码示例来源:origin: org.activecomponents.jadex/jadex-commons-gui

/**
 *  Called when a command is available.
 */
public void	customCommandAvailable(Object command)
{
  future.sendForwardCommand(command);
}

代码示例来源:origin: net.sourceforge.jadex/jadex-bridge

public IFuture<Void> execute(IInternalAccess ia)
  {
    if(!ret.isDone())
    {
      ret.sendForwardCommand(IForwardCommandFuture.Type.UPDATETIMER);
      ia.waitForDelay(w, this, realtime);
    }
    return IFuture.DONE;
  }
};

代码示例来源:origin: org.activecomponents.jadex/jadex-bridge

public IFuture<Void> execute(IInternalAccess ia)
  {
    if(!ret.isDone())
    {
      ret.sendForwardCommand(IForwardCommandFuture.Type.UPDATETIMER);
      ia.getComponentFeature(IExecutionFeature.class).waitForDelay(w, this, realtime);
    }
    return IFuture.DONE;
  }
};

相关文章