done.inpro.system.completion
Class TurnCompleter.CompletionPlayer

java.lang.Object
  extended by done.inpro.system.completion.TurnCompleter.CompletionPlayer
All Implemented Interfaces:
TurnCompleter.CompletionAdapter
Enclosing class:
TurnCompleter

private class TurnCompleter.CompletionPlayer
extends java.lang.Object
implements TurnCompleter.CompletionAdapter

completions will only be played if they don't start with a pause


Nested Class Summary
(package private)  class TurnCompleter.CompletionPlayer.InstallmentPlayer
          outputs a given system installment after the given holding time has passed
 
Field Summary
(package private)  DispatchStream audioDispatcher
           
 
Constructor Summary
TurnCompleter.CompletionPlayer(DispatchStream audioDispatcher)
           
 
Method Summary
 void newCompletion(double estimatedStartTime, SysInstallmentIU completion)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

audioDispatcher

DispatchStream audioDispatcher
Constructor Detail

TurnCompleter.CompletionPlayer

public TurnCompleter.CompletionPlayer(DispatchStream audioDispatcher)
Method Detail

newCompletion

public void newCompletion(double estimatedStartTime,
                          SysInstallmentIU completion)
Specified by:
newCompletion in interface TurnCompleter.CompletionAdapter