" agent=" + agentName); if (agentId.toString().equals(origNode)) { moveAgent(agentName, destNode);
" agent=" + agentName + " community=" + communityName); if (agentName != null && origNode != null && destNode != null && communityName != null) { if (agentId.toString().equals(origNode)) { moveAgent(agentName, destNode); } else { fireLater(new RemoteMoveRequest(agentName, origNode, destNode, communityName)); }
  public void moveAgent(final String agentName, final String origNode,                        final String destNode, final String communityName) {    logger.debug("MoveAgent:" +                 " origNode=" + origNode +                 " destNode=" + destNode +                 " agent=" + agentName);    if (agentId.toString().equals(origNode)) {      moveAgent(agentName, destNode);    } else {      fireLater(new RemoteMoveRequest(agentName, origNode, destNode, communityName));    }  }