@Test public void testDisconnect() throws IOException { joypadController.disconnect(); }
public synchronized void disconnect() { LOGGER.debug("Disconnetting..."); if (connected) { connected = !connected; } }
JoypadController implements Runnable, UncaughtExceptionHandler { public synchronized void disconnect() { LOGGER.debug("Disconnetting..."); if (connected) { connected = !connected; } } }
JoypadController implements Runnable, UncaughtExceptionHandler { public synchronized void disconnect() { LOGGER.debug("Disconnetting..."); if (connected) { connected = !connected; } } private  JoypadController(String device); }
JoypadController implements Runnable, UncaughtExceptionHandler { public synchronized void disconnect() { LOGGER.debug("Disconnetting..."); if (connected) { connected = !connected; } } private  JoypadController(String device); static JoypadController getInstance(String device); synchronized boolean connect(); synchronized void disconnect(); void addEventListener(JoypadEventListener eventListener); void removeEventListener(JoypadEventListener eventListener); @Override void run(); @Override void uncaughtException(Thread t, Throwable e); }
JoypadController implements Runnable, UncaughtExceptionHandler { public synchronized void disconnect() { LOGGER.debug("Disconnetting..."); if (connected) { connected = !connected; } } private  JoypadController(String device); static JoypadController getInstance(String device); synchronized boolean connect(); synchronized void disconnect(); void addEventListener(JoypadEventListener eventListener); void removeEventListener(JoypadEventListener eventListener); @Override void run(); @Override void uncaughtException(Thread t, Throwable e);  }