Examples of GetStatsRequest


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

   *         The keys are the name of corresponding attributes.
   *
   * @see org.objectweb.joram.client.jms.DestinationMBean#getStatistics()
   */
  public Hashtable getStatistics() throws ConnectException, AdminException {
    GetStatsRequest request = new GetStatsRequest(getName());
    GetStatsReply reply = (GetStatsReply) doRequest(request);
    return  reply.getStats();
  }
View Full Code Here

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

   *
   * @exception ConnectException  If the connection fails.
   * @exception AdminException  If the request fails.
   */
  public final Hashtable getStatistics(int serverId) throws ConnectException, AdminException {
    GetStatsRequest request = new GetStatsRequest(DestinationConstants.getNullId(serverId));
    GetStatsReply reply = (GetStatsReply) doRequest(request);
    return  reply.getStats();
  }
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.