cgl.narada.service.tds
Class TDSHandler

java.lang.Object
  extended by java.lang.Thread
      extended by cgl.narada.service.tds.TDSHandler
All Implemented Interfaces:
Runnable

public class TDSHandler
extends Thread


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
protected  int counter
           
protected  int delay
           
protected  long delta
           
protected  cgl.narada.service.tds.TDSHandler.EventReleaser evtRel1
           
protected  cgl.narada.service.tds.TDSHandler.EventReleaser evtRel2
           
protected  cgl.narada.service.tds.TDSHandler.EventReleaser evtRel3
           
protected  long firstEventSystemTimestamp
           
protected  long firstEventTimestamp
           
protected  ClockI hrtimer
           
protected  boolean isPaused
           
protected  long lastEventTimestamp
           
protected  QosServiceImpl myQoSService
           
protected  long pauseEndTime
           
protected  long pauseStartTime
           
protected  boolean ready
           
protected  boolean running
           
protected  int speed
           
protected  int speedup
           
protected  TDSBuffer tdsBuffer
           
protected  TDServiceImpl tdServiceImpl
           
protected  int[] thFlag
           
protected  int threadno
           
protected  int timeslice
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
TDSHandler(QosServiceImpl qosServiceImpl)
           
 
Method Summary
 void onTimeSpacedEvent(QosEvent qosEvent)
           
 void pauseService()
           
 void replayService()
           
 void run()
           
 void shutDownService()
           
 void terminateService()
           
 void toTimeSpaceBuffer(QosEvent qosEvent)
           
 
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
 

Field Detail

tdServiceImpl

protected TDServiceImpl tdServiceImpl

myQoSService

protected QosServiceImpl myQoSService

tdsBuffer

protected TDSBuffer tdsBuffer

hrtimer

protected ClockI hrtimer

firstEventTimestamp

protected long firstEventTimestamp

firstEventSystemTimestamp

protected long firstEventSystemTimestamp

lastEventTimestamp

protected long lastEventTimestamp

delta

protected long delta

running

protected boolean running

threadno

protected int threadno

ready

protected boolean ready

timeslice

protected int timeslice

delay

protected int delay

counter

protected int counter

thFlag

protected int[] thFlag

isPaused

protected boolean isPaused

pauseStartTime

protected long pauseStartTime

pauseEndTime

protected long pauseEndTime

speed

protected int speed

speedup

protected int speedup

evtRel1

protected cgl.narada.service.tds.TDSHandler.EventReleaser evtRel1

evtRel2

protected cgl.narada.service.tds.TDSHandler.EventReleaser evtRel2

evtRel3

protected cgl.narada.service.tds.TDSHandler.EventReleaser evtRel3
Constructor Detail

TDSHandler

public TDSHandler(QosServiceImpl qosServiceImpl)
Method Detail

onTimeSpacedEvent

public void onTimeSpacedEvent(QosEvent qosEvent)

toTimeSpaceBuffer

public void toTimeSpaceBuffer(QosEvent qosEvent)

run

public void run()
Specified by:
run in interface Runnable
Overrides:
run in class Thread

terminateService

public void terminateService()

shutDownService

public void shutDownService()

pauseService

public void pauseService()

replayService

public void replayService()


For comments and suggestions please send e-mail to The NaradaBrokering Project