|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
faa.tg.departure.server.DepartureObjectMgr
public class DepartureObjectMgr
This class defines DepartureObjectMgr which takes care of processing and responding to objects sent from Departure client service.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary | |
|---|---|
static java.lang.String |
CVS_VERSION_ID
The CVS Version ID |
private ThreadSafeQueue |
tsq
|
private DepartureObjectWriter |
writer
|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
DepartureObjectMgr(java.io.ObjectOutputStream oos,
DepartureObjectInputInterface doii,
java.util.List<Fix> fixList)
Constructor |
|
| Method Summary | |
|---|---|
void |
handleDepartureEvent(AbstractDepartureEvent theEvent)
Required in order to implement DepartureEventListener |
void |
handleDepartureObject(DepartureObject dptObj)
requried by DepartureObjectInputInterface |
void |
handleEndOfEpochEvent(EndOfEpochEvent eoeEvt)
Required in order to implement EndOfEpochListener interface |
void |
handleExecutiveEvent(ExecutiveEvent execEvt)
Required in order to implement ExecutiveEventListener interface |
void |
handleFlightAdded(DepartureFlight dptFlight)
Required in order to implement UpdateDepartureListener interface |
void |
handleFlightRemoved(DepartureFlight dptFlight)
Required in order to implement UpdateDepartureListener interface |
void |
handleUpdateStartTimeEvent(UpdateStartTimeEvent eoeEvt)
Required in order to implement UpdateStartTimeListener interface |
private void |
processObject(DepartureObject dptObj)
process object and reacts accordingly |
void |
run()
runs thread |
private void |
sendAircraft()
send all the aircraft that the departure manager knows |
private void |
sendHeldDepartureObejcts()
sends all the departureObjects which have gate holds |
| 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 |
|---|
public static final java.lang.String CVS_VERSION_ID
private ThreadSafeQueue tsq
private DepartureObjectWriter writer
| Constructor Detail |
|---|
public DepartureObjectMgr(java.io.ObjectOutputStream oos,
DepartureObjectInputInterface doii,
java.util.List<Fix> fixList)
oos - - The ObjectOutputStream to use to send objects to the
Departure clientdoii - - The DepartureObjectInputInterface| Method Detail |
|---|
private void sendAircraft()
private void sendHeldDepartureObejcts()
public void handleDepartureObject(DepartureObject dptObj)
handleDepartureObject in interface DepartureObjectInputListenerdptObj - - the DepartureObject to deal withpublic void run()
run in interface java.lang.Runnablerun in class java.lang.Threadprivate void processObject(DepartureObject dptObj)
dptObj - - The DepartureObject to processpublic void handleEndOfEpochEvent(EndOfEpochEvent eoeEvt)
handleEndOfEpochEvent in interface EndOfEpochListenereoeEvt - The EndOfEpochEvent to respond tofor more info,
for more infopublic void handleUpdateStartTimeEvent(UpdateStartTimeEvent eoeEvt)
handleUpdateStartTimeEvent in interface UpdateStartTimeListenereoeEvt - The UpdateStartTimeEvent to respond topublic void handleFlightAdded(DepartureFlight dptFlight)
handleFlightAdded in interface UpdateDepartureListenereoeEvt - The DepartureFlight to added to the clientpublic void handleFlightRemoved(DepartureFlight dptFlight)
handleFlightRemoved in interface UpdateDepartureListenereoeEvt - The DepartureFlight to removed to the clientpublic void handleExecutiveEvent(ExecutiveEvent execEvt)
handleExecutiveEvent in interface ExecutiveEventListener<ExecutiveEvent>execEvt - - The executive event to respond topublic void handleDepartureEvent(AbstractDepartureEvent theEvent)
handleDepartureEvent in interface DepartureEventListenertheEvent - - the AbstractDepartureEvent to respond to
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||