@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())