Package org.objectweb.joram.shared.admin

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


   * @exception AdminException  If the request fails.
   * @deprecated
   */
  public static void setHierarchicalLink(Topic father,
                                         Topic son) throws ConnectException, AdminException {
    AdminModule.doRequest(new SetFather(father.getName(), son.getName()));
  }
View Full Code Here


   * @exception ConnectException  If the admin connection is closed or broken.
   * @exception AdminException  If the request fails.
   * @deprecated
   */
  public static void unsetHierarchicalLink(Topic topic) throws ConnectException, AdminException {
    AdminModule.doRequest(new SetFather(null, topic.getName()));
  }
View Full Code Here

   */
  public void setParent(Topic parent) throws ConnectException, AdminException {
    if (parent == null)
      unsetParent();
    else
      doRequest(new SetFather(parent.getName(), agentId));
  }
View Full Code Here

   *
   * @exception ConnectException  If the admin connection is closed or broken.
   * @exception AdminException  If the request fails.
   */
  public void unsetParent() throws ConnectException, AdminException {
    doRequest(new SetFather(null, agentId));
  }
View Full Code Here

TOP

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

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.