outputStrategy
Class OutputStrategyController.OutputTask

java.lang.Object
  extended by java.util.TimerTask
      extended by outputStrategy.OutputStrategyController.OutputTask
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
OutputStrategyController

private final class OutputStrategyController.OutputTask
extends java.util.TimerTask

Simple TimerTask, which puts out the batch it is linked to.

Author:
Karl-Peter Fuchs

Field Summary
private  boolean isRequestTimer
          Indicates whether this OutputTask is linked with requestBatch or not (= linked with replyBatch).
 
Constructor Summary
protected OutputStrategyController.OutputTask(Batch batch)
          Creates a new OutputTask for the specified Batch.
 
Method Summary
 void run()
          Puts out the batch it is linked to.
 
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

isRequestTimer

private boolean isRequestTimer
Indicates whether this OutputTask is linked with requestBatch or not (= linked with replyBatch).

Constructor Detail

OutputStrategyController.OutputTask

protected OutputStrategyController.OutputTask(Batch batch)
Creates a new OutputTask for the specified Batch.

Parameters:
batch - Batch that shall be put out.
Method Detail

run

public void run()
Puts out the batch it is linked to.

Specified by:
run in interface java.lang.Runnable
Specified by:
run in class java.util.TimerTask