AgentID srcFromAgent = MessageUtils.getToAgent (pam); AgentID srcToAgent = MessageUtils.getFromAgent (pam); int srcMsgNum = MessageUtils.getSrcMsgNumber (pam); return findAckToSend (srcFromAgent, srcToAgent, srcMsgNum);
AgentID fromAgent = MessageUtils.getFromAgent (ack.getMsg()); AgentID toAgent = MessageUtils.getToAgent (ack.getMsg()); int msgNum = MessageUtils.getMessageNumber (ack.getMsg()); return findAckToSend (fromAgent, toAgent, msgNum);
  static boolean findAckToSend (PureAckMessage pam)  {    AgentID srcFromAgent = MessageUtils.getToAgent (pam);    AgentID srcToAgent = MessageUtils.getFromAgent (pam);    int srcMsgNum = MessageUtils.getSrcMsgNumber (pam);    return findAckToSend (srcFromAgent, srcToAgent, srcMsgNum);  }