edu.cuny.cat.event
Class ShoutPlacedEvent
java.lang.Object
edu.cuny.cat.event.AuctionEvent
edu.cuny.cat.event.ShoutPlacedEvent
- All Implemented Interfaces:
- edu.cuny.event.Event<AuctionEventListener>, java.lang.Cloneable
public class ShoutPlacedEvent
- extends AuctionEvent
- implements java.lang.Cloneable
An event that is fired every time a shout is placed in an auction, in
contrast to ShoutReceivedEvent, which represents a shout is received
by the cat server but may not be accepted by the corresponding market. It
also differs from ShoutPostedEvent in the sense that the latter is
the way of notifying subscribers of placed shouts while a
ShoutPlacedEvent tells the trader that placed the shout and the
market where the shout is placed.
- Version:
- $Revision: 1.11 $
- Author:
- Steve Phelps
- See Also:
ShoutPostedEvent,
ShoutReceivedEvent
|
Field Summary |
protected Shout |
shout
The shout that led to this event. |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
shout
protected Shout shout
- The shout that led to this event.
ShoutPlacedEvent
public ShoutPlacedEvent(Shout shout)
getShout
public Shout getShout()
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Overrides:
clone in class java.lang.Object
- Throws:
java.lang.CloneNotSupportedException
toString
public java.lang.String toString()
- Overrides:
toString in class AuctionEvent