@Override public void sendLocationList(){
  List<Location> locationList=lm.getLocationsByNameList();
  ArrayList<Attribute> location;
  for (  Location loc : locationList) {
    location=new ArrayList<Attribute>(1);
    location.add(new Attribute(LOCATIONS,loc));
    try {
      sendMessage(location);
    }
 catch (    IOException ioe) {
      log.debug("could not send train " + loc.getName());
    }
  }
}

@ Override public void sendLocationList ( ) { List < Location > locationList = lm . getLocationsByNameList ( ) ; ArrayList < Attribute > location ; for ( Location loc : locationList ) { location = new ArrayList < Attribute > ( 1 ) ; location . add ( new Attribute ( LOCATIONS , loc ) ) ; try { sendMessage ( location ) ; } catch ( IOException ioe ) { log . debug ( "could not send train " + loc . getName ( ) ) ; } } }
send a list of locations known by operations to the client
