public void listChannels(long chanId, String indents){
		String str = "";
		Channel childC;
		
		if(getChannel(chanId) instanceof ChannelGroup){
			ChannelGroup cg = (ChannelGroup)getChannel(chanId);
			str += cg.getId() + " G " + cg.getName();
			System.out.println(indents + str);
			
			indents += "  ";
			for(long id : cg.getChildren()){
				str = "";
				if(getChannel(id) instanceof ChannelGroup){
					listChannels(id, indents);
				}
				else if(getChannel(id) instanceof Channel){
					childC = (Channel)getChannel(id);
					str += id + " C " + childC.getName() + " - " + childC.getUsers().size() + " users" + " - owner : "+childC.getOwner();
					System.out.println(indents + str);
				}
			}
		}
		else{
			System.out.println("Channel Service Error - Can't list the children of a Channel that isn't a ChannelGroup.");
		}
	}