public void start() { notifyStart(); // Run in a thread server = createUdpServer(); server.run(); }
public void stop() { notifyStop(); if (server != null) { server.stop(); } }