de.beamertool.viewer.data.commercial
Class Commercial

java.lang.Object
  extended by de.beamertool.viewer.data.commercial.Commercial

public class Commercial
extends Object

This class emits every now and then a new commercial

Author:
ocm-zeeman

Constructor Summary
Commercial(Settings theSettings)
          Initilaizses all fields
 
Method Summary
 void addCommercialListener(CommercialListener newListener)
          Adds a new listener which want commercial
 void stop()
          Notify the running thread to clean up and spawn a new thread to keep the application active until the commercial thread has finished
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Commercial

public Commercial(Settings theSettings)
Initilaizses all fields

Method Detail

addCommercialListener

public void addCommercialListener(CommercialListener newListener)
Adds a new listener which want commercial

Parameters:
newListener - - The new listener

stop

public void stop()
Notify the running thread to clean up and spawn a new thread to keep the application active until the commercial thread has finished