public boolean addNode(ServiceNode node){
  try {
    return nodes.add(node);
  }
 catch (  Exception e) {
    return false;
  }
}

public boolean addNode ( ServiceNode node ) { try { return nodes . add ( node ) ; } catch ( Exception e ) { return false ; } }
add a service node to the end of the node list
