/** * Start listening for incoming OSCPackets */ public void startListening() { if (!isListening()) { // NOTE This is not thread-save listening = true; listeningThread = new Thread(this); // The JVM exits when the only threads running are all daemon threads. listeningThread.setDaemon(true); listeningThread.start(); } }
if (!portIn.isListening()) { logger.info("listening for /exo messages"); System.out.println("\tnot listening");