public class TLEntityUpdater extends SwingWorker<Boolean,Long>
properties (in worker thread) and
updates end time (AWT).
The retrieval of introspection will continue as long as agent is in state
IAgentStateUp.SwingWorker.StateValue| Modifier and Type | Field and Description |
|---|---|
protected cz.cuni.amis.pogamut.unreal.bot.IUnrealBot |
agent |
protected TLAgentEntity |
entity |
protected int |
interval
How many ms should pass between consequent retrival from introspection.
|
| Constructor and Description |
|---|
TLEntityUpdater(TLAgentEntity entity,
cz.cuni.amis.pogamut.unreal.bot.IUnrealBot agent) |
| Modifier and Type | Method and Description |
|---|---|
protected Boolean |
doInBackground() |
protected void |
done()
When everything is done, notify
|
protected void |
process(List<Long> endTimestamps) |
protected void |
syncFolder(cz.cuni.amis.introspection.Folder folder,
TLFolder tlFolder,
long time)
Take the folder recursively traverse directory structure.
|
addPropertyChangeListener, cancel, execute, firePropertyChange, get, get, getProgress, getPropertyChangeSupport, getState, isCancelled, isDone, publish, removePropertyChangeListener, run, setProgressprotected TLAgentEntity entity
protected cz.cuni.amis.pogamut.unreal.bot.IUnrealBot agent
protected int interval
public TLEntityUpdater(TLAgentEntity entity, cz.cuni.amis.pogamut.unreal.bot.IUnrealBot agent)
protected Boolean doInBackground() throws Exception
doInBackground in class SwingWorker<Boolean,Long>Exceptionprotected void done()
done in class SwingWorker<Boolean,Long>protected void process(List<Long> endTimestamps)
process in class SwingWorker<Boolean,Long>protected void syncFolder(cz.cuni.amis.introspection.Folder folder,
TLFolder tlFolder,
long time)
throws cz.cuni.amis.introspection.IntrospectionException
TLFolderintrospection properties to TLPropertiesfolder - tlFolder - time - cz.cuni.amis.introspection.IntrospectionExceptionCopyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.