com.nutiteq.bluetooth
Class BluetoothAPIConnection

java.lang.Object
  extended by com.nutiteq.bluetooth.BluetoothAPIConnection
All Implemented Interfaces:
LocationDataConnection

public class BluetoothAPIConnection
extends java.lang.Object
implements LocationDataConnection

Wrapper around J2ME Connection class.


Constructor Summary
BluetoothAPIConnection(javax.microedition.io.Connection connection)
           
 
Method Summary
 void disconnect()
          Disconnect from given source
 java.io.InputStream openInputStream()
          Open input stream to given location source
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BluetoothAPIConnection

public BluetoothAPIConnection(javax.microedition.io.Connection connection)
Method Detail

disconnect

public void disconnect()
Description copied from interface: LocationDataConnection
Disconnect from given source

Specified by:
disconnect in interface LocationDataConnection

openInputStream

public java.io.InputStream openInputStream()
                                    throws java.io.IOException
Description copied from interface: LocationDataConnection
Open input stream to given location source

Specified by:
openInputStream in interface LocationDataConnection
Returns:
opened input stream
Throws:
java.io.IOException - if something went wrong