MessageAddress destNodeAddr = MessageAddress.getMessageAddress(destNode);
  private AgentControl createAgentControl(String op) {    boolean isForceRestart = false;    MessageAddress mobileAgentAddr = MessageAddress.getMessageAddress(mobileAgent);    MessageAddress destNodeAddr = MessageAddress.getMessageAddress(destNode);    MessageAddress originNodeAddr = MessageAddress.getMessageAddress(origNode);    MessageAddress target;    AbstractTicket ticket;    //boolean isForceRestart = (forceRestart.equals("true") ? true : false);    if(op.equals("Move")) {      target = (originNodeAddr != null ? (originNodeAddr) : mobileAgentAddr);      if (destNodeAddr == null && originNodeAddr != null) {        destNodeAddr = originNodeAddr;      }      ticket =        new MoveTicket(                null,                mobileAgentAddr,                originNodeAddr,                destNodeAddr,                isForceRestart);    } else {       //target = (destNodeAddr != null ? destNodeAddr : mobileAgentAddr);       target = (originNodeAddr != null ? originNodeAddr : mobileAgentAddr);       ticket =         new RemoveTicket(                  null,                  mobileAgentAddr,                  //destNodeAddr);                  originNodeAddr);    }    AgentControl ac = ARServlet.this.createAgentControl(null, target, ticket);    return ac;  }