motej
Class MoteFinder

java.lang.Object
  extended by motej.MoteFinder

public class MoteFinder
extends java.lang.Object

Author:
Volker Fritzsch

Field Summary
protected  javax.bluetooth.DiscoveryListener listener
           
 
Method Summary
 void addMoteFinderListener(MoteFinderListener listener)
           
protected  void fireMoteFound(Mote mote)
           
static MoteFinder getMoteFinder()
          Returns the WiimoteFinder instance.
 void removeMoteFinderListener(MoteFinderListener listener)
           
 void startDiscovery()
           
 void stopDiscovery()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

listener

protected final javax.bluetooth.DiscoveryListener listener
Method Detail

getMoteFinder

public static MoteFinder getMoteFinder()
Returns the WiimoteFinder instance.

Returns:
WiimoteFinder

addMoteFinderListener

public void addMoteFinderListener(MoteFinderListener listener)

fireMoteFound

protected void fireMoteFound(Mote mote)

removeMoteFinderListener

public void removeMoteFinderListener(MoteFinderListener listener)

startDiscovery

public void startDiscovery()

stopDiscovery

public void stopDiscovery()