Package org.objectweb.joram.shared.admin

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


   * @exception ConnectException  If the admin connection is closed or broken.
   * @exception AdminException  If the request fails.
   * @deprecated
   */
  public static AdminReply listQueueCluster(Queue clusterQueue) throws ConnectException, AdminException {
    return AdminModule.doRequest( new ClusterList(clusterQueue.getName()));
  }
View Full Code Here


   *
   * @exception ConnectException  If the admin connection is closed or broken.
   * @exception AdminException  If the request fails.
   */
  public List getClusterFellows() throws ConnectException, AdminException {
    ClusterList request = new ClusterList(agentId);
    ClusterListReply reply = (ClusterListReply) doRequest(request);

    List topics = reply.getDestinations();
    List list = new ArrayList();
    if (topics != null) {
View Full Code Here

   *
   * @exception ConnectException  If the admin connection is closed or broken.
   * @exception AdminException  If the request fails.
   */
  public String[] getQueueClusterElements() throws ConnectException, AdminException {
    ClusterListReply reply = (ClusterListReply) doRequest(new ClusterList(agentId));
    List list = reply.getDestinations();
    return list == null ? null : (String[]) list.toArray(new String[list.size()]);
  }
View Full Code Here

TOP

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

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.