ioio.lib.util
Class IOIOConnectionManager

java.lang.Object
  extended by ioio.lib.util.IOIOConnectionManager

public class IOIOConnectionManager
extends java.lang.Object

Manages IOIO threads per connection.

This class will take care of creating a thread for each possible IOIO connection, and cleaning up these threads. Client is responsible for providing the actual threads, by implementing the IOIOConnectionThreadProvider interface.

Basic usage is:


Nested Class Summary
static interface IOIOConnectionManager.IOIOConnectionThreadProvider
           
static class IOIOConnectionManager.Thread
           
 
Constructor Summary
IOIOConnectionManager(IOIOConnectionManager.IOIOConnectionThreadProvider provider)
           
 
Method Summary
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IOIOConnectionManager

public IOIOConnectionManager(IOIOConnectionManager.IOIOConnectionThreadProvider provider)
Method Detail

start

public void start()

stop

public void stop()