Package ise.mace.inputs

Examples of ise.mace.inputs.JoinRequest


  @Override
  public final void enqueueInput(Input input)
  {
    if (input.getClass().equals(JoinRequest.class))
    {
      final JoinRequest req = (JoinRequest)input;
      boolean response = this.respondToJoinRequest(req.getAgent());
      if (response) this.dm.addMember(req.getAgent());
      ec.act(new RespondToApplication(req.getAgent(), response), this.getId(),
              authCode);
      logger.log(Level.FINE, "{0} got a join request from {1}", new Object[]
              {
                dm.getName(),
                ec.nameof(((JoinRequest)input).getAgent())
View Full Code Here


        logger.log(Level.FINE, "Agent {0} has rejoined the free agents group.",
                nameOf(actorID));
      }
      else
      {
        sim.getPlayer(app.getGroup()).enqueueInput(new JoinRequest(sim.getTime(),
                actorID));
        logger.log(Level.FINE, "Agent {0} has attempted to join group {1}",
                new Object[]
                {
                  nameOf(actorID),
View Full Code Here

TOP

Related Classes of ise.mace.inputs.JoinRequest

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.