|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.TimerTask
Auctioneer.AuctionCompletedTask
private class Auctioneer.AuctionCompletedTask
inner class that extends a TimerTask to provide a callback (run()) that invokes the auctioneer's auctionCompleted() method. Auctioneer operation. When the timer expires, the JVM invokes the run() method. Derived from the "Complete Auction" use case.
Constructor Summary | |
---|---|
Auctioneer.AuctionCompletedTask(Auctioneer auctioneer)
constructs the task. |
Method Summary | |
---|---|
void |
run()
the action to be performed by this task when timer expires. |
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 |
Constructor Detail |
---|
Auctioneer.AuctionCompletedTask(Auctioneer auctioneer)
auctioneer
- the Auctioneer object.Auctioneer
Method Detail |
---|
public void run()
run
in interface java.lang.Runnable
run
in class java.util.TimerTask
Auctioneer
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |