ist.palcom.mal
Class BluetoothCollector

java.lang.Object
  extended by ist.palcom.palcomthreads.PalcomThread
      extended by ist.palcom.palcomthreads.PalcomPriorityThread
          extended by ist.palcom.mal.CommunicationThread
              extended by ist.palcom.mal.BluetoothCollector

public class BluetoothCollector
extends CommunicationThread


Constructor Summary
BluetoothCollector(URL url, BluetoothConnectionManagerThread managerThread)
           
 
Method Summary
 Event getEvent()
           
 URL getURL()
           
 void receivePacket(BluetoothPacket p)
           
 void run()
          This method is overridden by subclasses.
 
Methods inherited from class ist.palcom.palcomthreads.PalcomPriorityThread
getPriority, setPriority
 
Methods inherited from class ist.palcom.palcomthreads.PalcomThread
askEvent, disableIOEvents, disablePeriodicEvents, enableIOEvent, enablePeriodicEvents, getScheduler, putEvent, terminate, waitEvent, yield
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, println, toString
 

Constructor Detail

BluetoothCollector

public BluetoothCollector(URL url,
                          BluetoothConnectionManagerThread managerThread)
Method Detail

run

public void run()
Description copied from class: PalcomThread
This method is overridden by subclasses.

Overrides:
run in class PalcomThread

getURL

public URL getURL()
Specified by:
getURL in class CommunicationThread
Returns:
The URL for sending messages to this thread, a URL this thread listens at (protocol-specific URL).

receivePacket

public void receivePacket(BluetoothPacket p)

getEvent

public Event getEvent()