package net.sourceforge.gjtapi.raw.njiax.peer; import java.util.TimerTask; /** * <p>Title: </p> * * <p>Description: </p> * * <p>Copyright: Copyright (c) 2008</p> * * <p>Company: </p> * * @author D�rio Marcelino * @version 1.0 */ public class StopPlayTask extends TimerTask { NjIaxPeer peer; public StopPlayTask(NjIaxPeer peer) { this.peer = peer; } /** * When an object implementing interface <code>Runnable</code> is used to * create a thread, starting the thread causes the object's * <code>run</code> method to be called in that separately executing * thread. * * @todo Implement this java.lang.Runnable method */ public void run() { peer.stopPlay(); } }