edu.wisc.trace.upnptarget
Class UpnpDeviceAnnounceThread

java.lang.Object
  extended by java.lang.Thread
      extended by edu.wisc.trace.upnptarget.UpnpDeviceAnnounceThread
All Implemented Interfaces:
Runnable

public class UpnpDeviceAnnounceThread
extends Thread

A Thread which keeps Announcing the presence of the UPnP Device in the Network after each interval of time specified in the Constructor

Version:
$Revision: 1.12 $
Author:
Parikshit Thakur

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
UpnpDeviceAnnounceThread(org.cybergarage.upnp.Device dev, int announcePeriodMillisec)
           
 
Method Summary
 void run()
          Inherited method of Thread class.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UpnpDeviceAnnounceThread

public UpnpDeviceAnnounceThread(org.cybergarage.upnp.Device dev,
                                int announcePeriodMillisec)
Parameters:
dev - a Device object
announcePeriodMillisec - integer value of time Delay in milliseconds
Method Detail

run

public void run()
Inherited method of Thread class. It announce device on network after interval of the value mentioned by 'announcePeriodMillisec'.

Specified by:
run in interface Runnable
Overrides:
run in class Thread


Copyright © 2006 Trace R&D Center, University of Wisconsin-Madison. All Rights Reserved.