Examples of JoinRequest


Examples of com.hazelcast.cluster.JoinRequest

    public JoinRequest createJoinRequest(boolean withCredentials) {
        final Credentials credentials = (withCredentials && securityContext != null)
                ? securityContext.getCredentialsFactory().newCredentials() : null;

        return new JoinRequest(Packet.VERSION, buildInfo.getBuildNumber(), address,
                localMember.getUuid(), createConfigCheck(), credentials, clusterService.getSize(), 0,
                config.getMemberAttributeConfig().getAttributes());
    }
View Full Code Here

Examples of com.hazelcast.cluster.JoinRequest

    public JoinRequest createJoinRequest(boolean withCredentials) {
        final Credentials credentials = (withCredentials && securityContext != null)
                ? securityContext.getCredentialsFactory().newCredentials() : null;

        return new JoinRequest(Packet.VERSION, buildInfo.getBuildNumber(), address,
                localMember.getUuid(), createConfigCheck(), credentials, clusterService.getSize(), 0,
                config.getMemberAttributeConfig().getAttributes());
    }
View Full Code Here

Examples of com.hazelcast.cluster.impl.JoinRequest

    public JoinRequest createJoinRequest(boolean withCredentials) {
        final Credentials credentials = (withCredentials && securityContext != null)
                ? securityContext.getCredentialsFactory().newCredentials() : null;

        return new JoinRequest(Packet.VERSION, buildInfo.getBuildNumber(), address,
                localMember.getUuid(), createConfigCheck(), credentials, clusterService.getSize(), 0,
                config.getMemberAttributeConfig().getAttributes());
    }
View Full Code Here

Examples of com.hazelcast.cluster.impl.JoinRequest

        return response;
    }

    @Override
    protected void readInternal(final ObjectDataInput in) throws IOException {
        joinRequest = new JoinRequest();
        joinRequest.readData(in);
    }
View Full Code Here

Examples of com.hazelcast.cluster.impl.JoinRequest

        return request;
    }

    @Override
    protected void readInternal(ObjectDataInput in) throws IOException {
        request = new JoinRequest();
        request.readData(in);
    }
View Full Code Here

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

Examples of ise.mace.inputs.JoinRequest

        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
Copyright © 2018 www.massapi.com. 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.