ioio.lib.spi
Interface IOIOConnectionFactory


public interface IOIOConnectionFactory


Method Summary
 IOIOConnection createConnection()
           
 java.lang.Object getExtra()
          Extra information on the connection.
 java.lang.String getType()
          A unique name of the connection type.
 

Method Detail

getType

java.lang.String getType()
A unique name of the connection type. Typically a fully-qualified name of the connection class.


getExtra

java.lang.Object getExtra()
Extra information on the connection. This is specific to the connection type. For example, for a Bluetooth connection, this is an array containing the name and the Bluetooth address of the remote IOIO.


createConnection

IOIOConnection createConnection()