/* */ }
/* */ }
/* */ }
/* */ }
/* 270 */ if (sockets.isEmpty()) {
/* 271 */ throw new ConnectionFailedException("Timed out trying to create control socket");
/* */ }
/* 273 */ Iterator it = sockets.iterator();
/* 274 */ this.controlSocket = ((Socket)it.next());
/* 275 */ it.remove();
/* */ try
/* */ {
/* 278 */ this.controlOutputStream = this.controlSocket.getOutputStream();
/* */ }
/* */ catch (IOException e1)
/* */ {
/* 282 */ throw new ConnectionFailedException("Unable to get control socket output stream");
/* */ }
/* 284 */ log.debug("got control socket( " + this.listenerId + "): " + this.controlSocket);
/* 285 */ this.pingTimerTask = new PingTimerTask(this);
/* */
/* 287 */ synchronized (timerLock)