|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
org.openmuc.mux.writer.CurrentDataFileWriter
public class CurrentDataFileWriter
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary |
---|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
CurrentDataFileWriter(org.osgi.framework.BundleContext bc,
DataManagerTracker tracker,
java.util.Dictionary<?,?> properties)
|
Method Summary | |
---|---|
void |
initialized()
|
boolean |
isRunning()
|
void |
run()
|
void |
setRunning(boolean running)
|
void |
stateChanged(ChannelIdentifier id,
State newState)
Invoked if the state of a channel has changed |
void |
storingDataEvent(java.lang.String label,
long timestamp,
double value)
Invoked if the framework wants to store data |
void |
updated()
Invoked if a configuration update occurs |
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 |
---|
public CurrentDataFileWriter(org.osgi.framework.BundleContext bc, DataManagerTracker tracker, java.util.Dictionary<?,?> properties)
Method Detail |
---|
public boolean isRunning()
public void setRunning(boolean running)
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public void initialized()
public void updated()
DataManagerListener
updated
in interface DataManagerListener
public void storingDataEvent(java.lang.String label, long timestamp, double value)
DataManagerListener
storingDataEvent
in interface DataManagerListener
public void stateChanged(ChannelIdentifier id, State newState)
DataManagerListener
stateChanged
in interface DataManagerListener
id
- id of the channel that changed its statenewState
- new state of the channel
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |