faa.tg.eco.remoteecogui.server
Class AcInfoStudyHandler

java.lang.Object
  extended by faa.tg.eco.remoteecogui.server.AcInfoStudyHandler
All Implemented Interfaces:
UpdateCompleteListener, java.util.EventListener

public class AcInfoStudyHandler
extends java.lang.Object
implements UpdateCompleteListener


Field Summary
private  Aircraft ac
           
static java.lang.String CVS_VERSION_ID
          The CVS Version ID
private  RemoteEcoGUIWriter writer
           
 
Constructor Summary
AcInfoStudyHandler(Aircraft ac, RemoteEcoGUIWriter writer)
          Constructor AcInfoStudyHandler
 
Method Summary
 void closeStudy()
          Method closeStudy ...
 void handleUpdateCompleteEvent(UpdateCompleteEvent uce)
          Method handleUpdateCompleteEvent ...
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ac

private Aircraft ac

writer

private RemoteEcoGUIWriter writer

CVS_VERSION_ID

public static final java.lang.String CVS_VERSION_ID
The CVS Version ID

See Also:
Constant Field Values
Constructor Detail

AcInfoStudyHandler

public AcInfoStudyHandler(Aircraft ac,
                          RemoteEcoGUIWriter writer)
Constructor AcInfoStudyHandler

Parameters:
ac - - the aircraft to listen for updateComplete events
writer - - the RemoteEcoGUIWriter to use to send the information
Method Detail

handleUpdateCompleteEvent

public void handleUpdateCompleteEvent(UpdateCompleteEvent uce)
Method handleUpdateCompleteEvent ... required by the UpdateCompleteEventListener interface

Specified by:
handleUpdateCompleteEvent in interface UpdateCompleteListener
Parameters:
uce - - the UpdateCompleteEvent event to respond to

closeStudy

public void closeStudy()
Method closeStudy ... removes this class from Aircraft's updateComplete listener