Package org.objectweb.joram.shared.admin

Examples of org.objectweb.joram.shared.admin.GetUsersReply


    User[] list = null;

    // TODO (AF): Changes the GetUsersReply class to return 2 arrays.
    // TODO (AF): Same work with GetRightsReply !
    GetUsersRequest request = new GetUsersRequest(serverId);
    GetUsersReply reply = (GetUsersReply) doRequest(request);

    Hashtable users = reply.getUsers();
    list = new User[users.size()];
    String name;
    int i = 0;
    for (Enumeration names = users.keys(); names.hasMoreElements();) {
      name = (String) names.nextElement();
View Full Code Here


        name = (String) names.next();
        /** Adds the user to the table. */
        users.put(name, ((AgentId) proxiesTable.get(name)).toString());
      }

      GetUsersReply reply = new GetUsersReply(users);
      distributeReply(replyTo, msgId, reply);
    } else {
      // Forward the request to the right AdminTopic agent.
      forward(getDefault((short) request.getServerId()),
              new FwdAdminRequestNot(request, replyTo, msgId));
View Full Code Here

TOP

Related Classes of org.objectweb.joram.shared.admin.GetUsersReply

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.