|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--sharpster.daemon.externalcommunication.AdvertisementThread
Field Summary |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
AdvertisementThread(sharpster.common.Mutex mutex)
|
Method Summary | |
boolean |
initialize(net.jxta.discovery.DiscoveryService disco,
net.jxta.pipe.PipeService pipes,
net.jxta.peergroup.PeerGroup peerGroup,
sharpster.daemon.usermanagement.UserManager um)
|
void |
run()
Runs the thread When this method returns, the thread dies. |
void |
shutdown()
Notifies the thread to stop Sets shtudownRequested and starts to wait for the thread with join() |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, 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 |
public AdvertisementThread(sharpster.common.Mutex mutex)
Method Detail |
public boolean initialize(net.jxta.discovery.DiscoveryService disco, net.jxta.pipe.PipeService pipes, net.jxta.peergroup.PeerGroup peerGroup, sharpster.daemon.usermanagement.UserManager um)
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public void shutdown()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |