edu.cuny.cat.task
Class EventDispatchingTask

java.lang.Object
  extended by java.util.Observable
      extended by edu.cuny.cat.task.DispatchingTask
          extended by edu.cuny.cat.task.EventDispatchingTask
All Implemented Interfaces:
java.lang.Runnable
Direct Known Subclasses:
EventDispatchingTaskOnClientSide, EventDispatchingTaskOnServerSide

public abstract class EventDispatchingTask
extends DispatchingTask

Defines the interface for the task of dispatching some auction event to specified receivers. It is observable and its observers are notified if the task fails to accomplish.

Version:
$Revision: 1.2 $
Author:
Jinzhong Niu

Field Summary
protected  AuctionEvent event
           
 
Fields inherited from class edu.cuny.cat.task.DispatchingTask
tid
 
Constructor Summary
EventDispatchingTask()
           
 
Method Summary
 AuctionEvent getEvent()
           
 void setEvent(AuctionEvent event)
           
 java.lang.String toString()
           
 
Methods inherited from class edu.cuny.cat.task.DispatchingTask
failedOn
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.lang.Runnable
run
 

Field Detail

event

protected AuctionEvent event
Constructor Detail

EventDispatchingTask

public EventDispatchingTask()
Method Detail

getEvent

public AuctionEvent getEvent()

setEvent

public void setEvent(AuctionEvent event)

toString

public java.lang.String toString()
Overrides:
toString in class DispatchingTask