public class ShortLivedPublisher extends Thread implements DipPublicationErrorHandler
Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
String |
pubName |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
ShortLivedPublisher(String publisherName,
DipFactory dipFactory) |
Modifier and Type | Method and Description |
---|---|
void |
handleException(DipPublication p,
DipException e)
invoked when an asynch error occurs.
|
static void |
main(String[] args) |
void |
run() |
activeCount, checkAccess, clone, 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
public String pubName
public ShortLivedPublisher(String publisherName, DipFactory dipFactory)
public void handleException(DipPublication p, DipException e)
DipPublicationErrorHandler
handleException
in interface DipPublicationErrorHandler
p
- source of the errore
- exception details.public static void main(String[] args)
Copyright © 2008–2017 CERN. All rights reserved.