setCity(components[1]).build());
}
channel.write(builder.build());
LocalTimes localTimes;
boolean interrupted = false;
for (;;) {
try {
localTimes = answer.take();
break;
} catch (InterruptedException e) {
interrupted = true;
}
}
if (interrupted) {
Thread.currentThread().interrupt();
}
List<String> result = new ArrayList<String>();
for (LocalTime lt: localTimes.getLocalTimeList()) {
result.add(
new Formatter().format(
"%4d-%02d-%02d %02d:%02d:%02d %s",
lt.getYear(),
lt.getMonth(),