/** * Start listening for network communication. * * @param id ID identifying the listening node. */ public void startListening(String id) { home = id; StaticNetwork.Route route = network.getRoute(id); if (route != null) { if (pipeline.startServer(route.port)) { logger.log(Level.INFO, String.format("%s: listening port %d", id, route.port)); } } }